/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaUtils.java | 263 final Insets insets; field in class:AquaUtils.ShadowBorder 270 this.insets = new Insets(halfBlur - offsetY, halfBlur - offsetX, halfBlur + offsetY, halfBlur + offsetX); 283 return insets; 300 final int adjX = (int)(x + blur + offsetX + (insets.left * distance)); 301 final int adjY = (int)(y + blur + offsetY + (insets.top * distance)); 302 final int adjW = (int)(width - (insets.left + insets.right) * distance); 303 final int adjH = (int)(height - (insets.top + insets.bottom) * distance);
|
H A D | AquaInternalFrameUI.java | 355 final Insets insets = frame.getInsets(); 357 g.drawRect(insets.left - 2, insets.top - 2, frame.getWidth() - insets.left - insets.right + 4, frame.getHeight() - insets.top - insets.bottom + 4); 520 final Insets insets = frame.getInsets(); 522 if (point.y < insets.top - fAquaBorder.getTitleHeight()) return false; 523 if (point.y > insets [all...] |
H A D | AquaProgressBarUI.java | 178 // this is questionable. We may want the insets to mean something different. 261 final Insets insets = progressBar.getInsets(); 263 size.width += insets.left + insets.right; 264 size.height += insets.top + insets.bottom;
|
H A D | AquaTreeUI.java | 159 protected void paintVerticalPartOfLeg(final Graphics g, final Rectangle clipBounds, final Insets insets, final TreePath path) { argument 161 super.paintVerticalPartOfLeg(g, clipBounds, insets, path); 165 protected void paintHorizontalPartOfLeg(final Graphics g, final Rectangle clipBounds, final Insets insets, final Rectangle bounds, final TreePath path, final int row, final boolean isExpanded, final boolean hasBeenExpanded, final boolean isLeaf) { argument 167 super.paintHorizontalPartOfLeg(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf); 183 * <code>insets</code>. 185 protected void paintExpandControl(final Graphics g, final Rectangle clipBounds, final Insets insets, final Rectangle bounds, final TreePath path, final int row, final boolean isExpanded, final boolean hasBeenExpanded, final boolean isLeaf) { argument 199 super.paintExpandControl(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf); 206 super.paintExpandControl(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf);
|
H A D | AquaMenuPainter.java | 357 final Insets insets = b.getInsets(); 358 if (insets != null) { 359 r.width += insets.left + insets.right; 360 r.height += insets.top + insets.bottom;
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthTreeUI.java | 314 Insets insets = tree.getInsets(); 360 paintBounds, insets, bounds, rowBounds, path, 378 paintVerticalPartOfLeg(g, paintBounds, insets, parentPath); 400 paintVerticalPartOfLeg(g, paintBounds, insets, 405 paintBounds, insets, bounds, 411 paintBounds, insets, bounds, 418 insets, bounds, path, row, 479 Insets insets, Rectangle bounds, 485 super.paintHorizontalPartOfLeg(g, clipBounds, insets, bounds, 506 Rectangle clipBounds, Insets insets, 478 paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument 505 paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) argument 523 paintRow(TreeCellRenderer renderer, DefaultTreeCellRenderer dtcr, SynthContext treeContext, SynthContext cellContext, Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, Rectangle rowBounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument 592 paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument [all...] |
H A D | SynthDesktopPaneUI.java | 216 Insets insets = target.getInsets(); 217 int tw = target.getWidth() - insets.left - insets.right; 250 Insets insets = getInsets(); 251 if (height == insets.top + insets.bottom) {
|
H A D | SynthLookAndFeel.java | 319 static Insets getPaintingInsets(SynthContext state, Insets insets) { argument 321 insets = state.getStyle().getInsets(state, insets); 324 insets = state.getComponent().getInsets(insets); 326 return insets;
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | Defaults.template | 370 LazyPainter(String className, int which, Insets insets, 380 insets, canvasSize, inverted); 383 LazyPainter(String className, int which, Insets insets, 395 insets, canvasSize, inverted, cacheMode, maxH, maxV); 818 private Insets insets; 822 PainterBorder(String painterKey, Insets insets) { 823 this.insets = insets; 850 return (Insets)insets.clone();
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XWM.java | 54 private final static PlatformLogger insLog = PlatformLogger.getLogger("sun.awt.X11.insets.XWM"); 159 static Insets normalize(Insets insets) { argument 160 if (insets.top > 64 || insets.top < 0) { 161 insets.top = 28; 163 if (insets.left > 32 || insets.left < 0) { 164 insets.left = 6; 166 if (insets.right > 32 || insets [all...] |
H A D | XDecoratedPeer.java | 41 private static final PlatformLogger insLog = PlatformLogger.getLogger("sun.awt.X11.insets.XDecoratedPeer"); 130 Insets insets = getRealInsets(); 131 int minWidth = minimumSize.width - insets.left - insets.right; 132 int minHeight = minimumSize.height - insets.top - insets.bottom; 255 // insets which we get from WM (e.g from _NET_FRAME_EXTENTS) 332 } else { /* reparented to WM frame, figure out our insets */ 336 // Check if we have insets provided by the WM 339 insLog.finer("wm-provided insets { [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicListUI.java | 346 Insets insets = list.getInsets(); 349 return new Rectangle(insets.left, insets.top, DROP_LINE_THICKNESS, 20); 351 return new Rectangle(list.getWidth() - DROP_LINE_THICKNESS - insets.right, 352 insets.top, DROP_LINE_THICKNESS, 20); 355 return new Rectangle(insets.left, insets.top, 356 list.getWidth() - insets.left - insets.right, 569 * preferred width is the above width + insets [all...] |
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...] |
H A D | BasicOptionPaneUI.java | 318 cons.insets = new Insets(0,0,3,0); 997 Insets insets = container.getInsets(); 1020 x = insets.left; 1023 x = container.getWidth() - insets.right - totalButtonWidth; 1030 x = insets.left; 1032 xOffset = (container.getWidth() - insets.left - 1033 insets.right - totalButtonWidth) / 1037 xOffset = (container.getWidth() - insets.left - 1038 insets.right - totalButtonWidth) / 1051 children[index].setBounds(x, insets [all...] |
H A D | BasicScrollBarUI.java | 486 Insets insets = scrollbar.getInsets(); 492 int x = insets.left; 494 int w = scrollbar.getWidth() - (insets.left + insets.right); 509 int y = insets.top; 510 int h = scrollbar.getHeight() - (insets.top + insets.bottom); 518 Insets insets = scrollbar.getInsets(); 524 int x = insets.left; 526 int w = scrollbar.getWidth() - (insets [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsComboBoxUI.java | 350 Insets insets = getInsets(); 353 ? (d.width - insets.right - buttonWidth) 354 : insets.left, 355 insets.top, 356 buttonWidth, d.height - insets.top - insets.bottom);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalTabbedPaneUI.java | 805 Insets insets = c.getInsets(); Dimension size = c.getSize(); 818 g.fillRect( insets.left, insets.top, 820 size.height - insets.bottom - insets.top ); 824 g.fillRect( insets.left, size.height - insets.bottom - totalTabHeight, 825 size.width - insets.left - insets.right, 830 g.fillRect( size.width - insets [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/sun/awt/ |
H A D | NullComponentPeer.java | 218 return insets(); 227 public Insets insets() { method in class:NullComponentPeer
|
/openjdk7/langtools/make/tools/SelectTool/ |
H A D | SelectToolTask.java | 152 lc.insets.right = 10; 153 lc.insets.bottom = 3; 158 fc.insets.bottom = 3;
|
/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/javax/swing/ |
H A D | JScrollPane.java | 610 Insets insets = getInsets(); 611 borderR.x = insets.left; 612 borderR.y = insets.top; 613 borderR.width -= insets.left + insets.right; 614 borderR.height -= insets.top + insets.bottom;
|
H A D | SpringLayout.java | 1214 Insets insets = parent.getInsets(); 1219 insets.left - insets.right); 1221 insets.top - insets.bottom); 1230 c.setBounds(insets.left + x, insets.top + y, width, height);
|
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | DefaultHighlighter.java | 63 Insets insets = component.getInsets(); 64 a.x = insets.left; 65 a.y = insets.top; 66 a.width -= insets.left + insets.right; 67 a.height -= insets.top + insets.bottom;
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/ |
H A D | GTKPainter.java | 692 // For regular/menu separators, we simply subtract out the insets. 694 Insets insets = c.getInsets(); 695 x += insets.left; 696 y += insets.top; 698 w -= (insets.left + insets.right); 700 h -= (insets.top + insets.bottom); 1060 // Note: the scrollbar insets already include the "trough-border", 1065 Insets insets [all...] |