/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaComboBoxRenderer.java | 134 public Insets getInsets(Insets insets) { argument 135 if (insets == null) insets = new Insets(0, 0, 0, 0); 136 insets.top = 1; 137 insets.bottom = 1; 138 insets.right = 5; 139 insets.left = (fInList && !fEditable ? 16 + 7 : 5); 140 return insets;
|
H A D | AquaTableHeaderBorder.java | 139 * Returns the insets of the border. 140 * @param c the component for which this border insets value applies 147 public Insets getBorderInsets(final Component c, final Insets insets) { argument 148 insets.left = editorBorderInsets.left; 149 insets.top = editorBorderInsets.top; 150 insets.right = editorBorderInsets.right; 151 insets.bottom = editorBorderInsets.bottom; 152 return insets;
|
H A D | AquaButtonUI.java | 153 protected void setButtonMarginIfNeeded(final AbstractButton b, final Insets insets) { argument 156 b.setMargin(insets); 322 // re-initialize the view rect to the selected insets
|
H A D | AquaUtilControlSize.java | 210 Insets insets = new InsetsUIResource(0, 0, 0, 0); field in class:AquaUtilControlSize.SizeVariant 226 this.insets = new InsetsUIResource(desc.insets.top, desc.insets.left, desc.insets.bottom, desc.insets.right); 235 this.insets = UIManager.getInsets(insetName); 240 this.insets = new InsetsUIResource(i.top, i.left, i.bottom, i.right); 245 insets = generateInsets(insets, to [all...] |
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | DefaultLayoutStyle.java | 184 Insets insets = c.getInsets(); 188 return insets.left + icon.getIconWidth() + gap; 190 return insets.right + icon.getIconWidth() + gap; 242 private int getInset(Insets insets, int position) { argument 243 if (insets == null) { 248 return insets.top; 250 return insets.bottom; 252 return insets.right; 254 return insets.left;
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | WindowDimensions.java | 32 private Insets insets; field in class:WindowDimensions 37 * Otherwise, they represent the entire window area, with the insets included 45 * Otherwise, they represent the entire window area, with the insets included 59 * Otherwise, they represent the entire window area, with the insets included 67 * Otherwise, they represent the entire window area, with the insets included 76 this.insets = (dims.insets != null)?((Insets)dims.insets.clone()):new Insets(0, 0, 0, 0); 85 if (insets != null) { 87 size.width-(insets [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | TitledBorder.java | 243 Insets insets = getBorderInsets(border, c, new Insets(0, 0, 0, 0)); 255 insets.left = 0; 256 insets.right = 0; 261 insets.top = edge + insets.top/2 - labelH/2; 262 if (insets.top < edge) { 263 borderY -= insets.top; 264 borderH += insets.top; 267 labelY += insets.top; 271 labelY += insets 347 getBorderInsets(Component c, Insets insets) argument 719 getBorderInsets(Border border, Component c, Insets insets) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/ |
H A D | BorderUIResource.java | 138 public EmptyBorderUIResource(Insets insets) { argument 139 super(insets);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalBorders.java | 661 public Insets getBorderInsets(Component c, Insets insets) { argument 669 insets.left = left; 670 insets.top = top; 671 insets.right = right; 672 insets.bottom = bottom; 675 insets.left = margin.left; 676 insets.top = margin.top; 677 insets.right = margin.right; 678 insets.bottom = margin.bottom; 680 return insets; 871 getBorderInsets(Component c, Insets insets) argument 943 getBorderInsets(Component c, Insets insets) argument [all...] |
H A D | MetalTreeUI.java | 209 Insets insets, TreePath path) { 211 super.paintVerticalPartOfLeg(g, clipBounds, insets, path); 216 Insets insets, Rectangle bounds, 222 super.paintHorizontalPartOfLeg(g, clipBounds, insets, bounds, 208 paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) argument 215 paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthInternalFrameTitlePane.java | 211 Insets insets = frame.getInsets(); 216 getX() - insets.left - insets.right, 218 insets.bottom - insets.top); 424 Insets insets = getInsets(); 425 height += insets.top + insets.bottom; 426 width += insets.left + insets 431 center(Component c, Insets insets, int x, boolean trailing) argument [all...] |
H A D | SynthScrollPaneUI.java | 235 private Insets insets; field in class:SynthScrollPaneUI.ViewportBorder 238 this.insets = (Insets)context.getStyle().get(context, 240 if (this.insets == null) { 241 this.insets = SynthLookAndFeel.EMPTY_UIRESOURCE_INSETS; 262 public Insets getBorderInsets(Component c, Insets insets) { argument 263 if (insets == null) { 264 return new Insets(this.insets.top, this.insets.left, 265 this.insets.bottom, this.insets [all...] |
H A D | SynthGraphicsUtils.java | 271 Insets insets = c.getInsets(viewSizingInsets); 272 int dx = insets.left + insets.right; 273 int dy = insets.top + insets.bottom; 308 * render the text as html nor will it offset by the insets of the 324 * render the text as html nor will it offset by the insets of the 347 * necessary, and offset the location by the insets of the component. 371 Insets insets = SynthLookAndFeel.getPaintingInsets(ss, paintInsets); 373 paintViewR.x = insets 478 applyInsets(Rectangle rect, Insets insets, boolean leftToRight) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | CSSBorder.java | 198 public Insets getBorderInsets(Component c, Insets insets) { argument 200 insets.set(widths[TOP], widths[LEFT], widths[BOTTOM], widths[RIGHT]); 201 return insets;
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | GridBagConstraints.java | 490 public Insets insets; field in class:GridBagConstraints 555 // ascent and descent include the insets and ipady values. 588 insets = new Insets(0, 0, 0, 0); 609 * @param insets The initial insets value. 621 * @see java.awt.GridBagConstraints#insets 631 Insets insets, int ipadx, int ipady) { 639 this.insets = insets; 652 c.insets 627 GridBagConstraints(int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int anchor, int fill, Insets insets, int ipadx, int ipady) argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WScrollPanePeer.java | 68 public Insets insets() { method in class:WScrollPanePeer
|
/openjdk7/jdk/src/windows/native/sun/java2d/opengl/ |
H A D | WGLSurfaceData.c | 54 extern void AwtComponent_GetInsets(JNIEnv *env, jobject peer, RECT *insets); 90 RECT insets; local 91 AwtComponent_GetInsets(env, peer, &insets); 92 oglsdo->xOffset = -insets.left; 93 oglsdo->yOffset = -insets.bottom;
|
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/ |
H A D | DefaultSynthStyle.java | 56 private Insets insets; field in class:DefaultSynthStyle 97 if (style.insets != null) { 98 insets = new Insets(style.insets.top, style.insets.left, 99 style.insets.bottom, style.insets.right); 120 * @param insets Insets for the Style 126 public DefaultSynthStyle(Insets insets, boolean opaque, argument 128 this.insets 294 setInsets(Insets insets) argument [all...] |
H A D | SynthFileChooserUI.java | 543 UIBorder(Insets insets) { argument 544 if (insets != null) { 545 _insets = new Insets(insets.top, insets.left, insets.bottom, 546 insets.right); 567 public Insets getBorderInsets(Component c, Insets insets) { argument 568 if (insets == null) { 569 insets = new Insets(0, 0, 0, 0); 572 insets [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | BorderedComponent.java | 351 Insets insets; 354 insets = border.getBorderInsets(c); 356 insets = new Insets(0, 0, 0, 0); 362 compLoc.y = grooveRect.y + insets.top/2 - (ascent + descent) / 2 - 1; 373 compLoc.x = grooveRect.x + TEXT_INSET_H + insets.left; 377 - (labelDim.width + TEXT_INSET_H + insets.right)); 435 * Reinitialize the insets parameter with this Border's current Insets. 436 * @param c the component for which this border insets value applies 437 * @param insets the object to be reinitialized 439 public Insets getBorderInsets(Component c, Insets insets) { argument 546 getBorderInsets(Component c, Insets insets) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifBorders.java | 78 public Insets getBorderInsets(Component c, Insets insets) { argument 79 insets.set(1, 1, 1, 1); 80 return insets; 109 public Insets getBorderInsets(Component c, Insets insets) { argument 110 insets.set(1, 1, 1, 1); 111 return insets; 186 public Insets getBorderInsets(Component c, Insets insets) { argument 188 insets.set(thickness, thickness, thickness, thickness); 189 return insets; 221 public Insets getBorderInsets(Component c, Insets insets) { argument 246 getBorderInsets(Component c, Insets insets) argument 707 getBorderInsets(Component c, Insets insets) argument [all...] |
/openjdk7/jdk/src/windows/native/sun/java2d/windows/ |
H A D | GDIWindowSurfaceData.h | 164 RECT insets; member in struct:_GDIWinSDOps
|
/openjdk7/jdk/src/share/demo/jfc/FileChooserDemo/ |
H A D | FileChooserDemo.java | 150 private final static Insets insets = new Insets(5, 10, 0, 10); field in class:FileChooserDemo 303 JPanel control1 = new InsetPanel(insets); 327 JPanel control2 = new InsetPanel(insets); 348 JPanel control3 = new InsetPanel(insets); 371 JPanel control4 = new InsetPanel(insets);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicMenuItemUI.java | 440 // Take into account menu item insets 441 Insets insets = lh.getMenuItem().getInsets(); 442 if(insets != null) { 443 result.width += insets.left + insets.right; 444 result.height += insets.top + insets.bottom; 624 private void applyInsets(Rectangle rect, Insets insets) { argument 625 if(insets != null) { 626 rect.x += insets [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | AbstractRegionPainter.java | 59 and stretching insets. 62 From the context we get the canvas size and stretching insets, and whether 179 * points at runtime, such as the stretching insets, the canvas size at which the 180 * encoded points were defined, and whether the stretching insets are inverted.</p> 503 private float a; // insets.left 504 private float b; // canvasSize.width - insets.right 505 private float c; // insets.top 506 private float d; // canvasSize.height - insets.bottom; 516 * @param insets The stretching insets 522 PaintContext(Insets insets, Dimension canvasSize, boolean inverted) argument 544 PaintContext(Insets insets, Dimension canvasSize, boolean inverted, CacheMode cacheMode, double maxH, double maxV) argument [all...] |