/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | SheetDialog.java | 106 Insets insets = getInsets(viewInsets); 113 int dx = insets.left + insets.right; 114 int dy = insets.top + insets.bottom;
|
H A D | Utilities.java | 105 Insets insets = border.getBorderInsets(this); 106 if (insets != null) { 108 g.clipRect(0, 0, getWidth(), insets.top);
|
H A D | VMPanel.java | 155 Insets insets = (Insets) UIManager.getLookAndFeelDefaults().get("TabbedPane.tabAreaInsets"); 156 insets = (Insets) insets.clone(); 157 insets.right += connectedIcon24.getIconWidth() + 8; 158 UIManager.put("TabbedPane.tabAreaInsets", insets); 173 Insets insets = getInsets(); 174 int x = getWidth() - insets.right - icon.getIconWidth() - 4; 175 int y = insets.top;
|
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | BevelBorder.java | 122 * Reinitialize the insets parameter with this Border's current Insets. 123 * @param c the component for which this border insets value applies 124 * @param insets the object to be reinitialized 126 public Insets getBorderInsets(Component c, Insets insets) { argument 127 insets.set(2, 2, 2, 2); 128 return insets;
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicLabelUI.java | 190 Insets insets = label.getInsets(null); 195 paintViewR.x = insets.left; 196 paintViewR.y = insets.top; 197 paintViewR.width = width - (insets.left + insets.right); 198 paintViewR.height = height - (insets.top + insets.bottom); 211 Insets insets = label.getInsets(null); 214 int dx = insets.left + insets [all...] |
H A D | BasicGraphicsUtils.java | 290 * the text and icon rectangles plus the buttons insets. 295 Insets insets = b.getInsets(); 296 r.width += insets.left + insets.right; 297 r.height += insets.top + insets.bottom;
|
H A D | BasicComboPopup.java | 1190 Insets insets = border.getBorderInsets(null); 1191 height += insets.top + insets.bottom; 1196 Insets insets = border.getBorderInsets(null); 1197 height += insets.top + insets.bottom; 1248 Insets insets = getInsets(); 1250 // reduce the width of the scrollpane by the insets so that the popup 1252 popupSize.setSize(popupSize.width - (insets.right + 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...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JSpinner.java | 600 * child is just centered with the parents insets. 789 * Returns the size of the parents insets. 792 Insets insets = parent.getInsets(); 793 int w = insets.left + insets.right; 794 int h = insets.top + insets.bottom; 801 * size of the parents insets. 820 * size of the parents insets. 839 * within the parents insets [all...] |
H A D | PopupFactory.java | 594 Insets insets; 599 insets = toolkit.getScreenInsets(gc); 603 insets = new Insets(0, 0, 0, 0); 605 // Take insets into account 606 screenBounds.x += insets.left; 607 screenBounds.y += insets.top; 608 screenBounds.width -= (insets.left + insets.right); 609 screenBounds.height -= (insets.top + insets [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthStyle.java | 862 * @param insets Insets to place return value in. 865 public Insets getInsets(SynthContext context, Insets insets) { argument 866 if (insets == null) { 867 insets = new Insets(0, 0, 0, 0); 869 insets.top = insets.bottom = insets.left = insets.right = 0; 870 return insets;
|
H A D | SynthMenuItemUI.java | 108 Insets insets = (Insets)style.get(context, prefix + ".margin"); 110 if (insets == null) { 112 insets = SynthLookAndFeel.EMPTY_UIRESOURCE_INSETS; 114 menuItem.setMargin(insets);
|
H A D | SynthMenuUI.java | 86 Insets insets = (Insets)style.get(context, prefix + ".margin"); 88 if (insets == null) { 90 insets = SynthLookAndFeel.EMPTY_UIRESOURCE_INSETS; 92 menuItem.setMargin(insets);
|
H A D | SynthScrollBarUI.java | 350 Insets insets = c.getInsets(); 352 ? new Dimension(scrollBarWidth + insets.left + insets.right, 48) 353 : new Dimension(48, scrollBarWidth + insets.top + insets.bottom);
|
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | CommentView.java | 129 public Insets getBorderInsets(Component c, Insets insets) { argument 130 Insets retI = super.getBorderInsets(c, insets);
|
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/ |
H A D | UIDefault.java | 81 @XmlElement private Insets insets; field in class:UIProperty 115 prefix, getName(), insets.write(true));
|
/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...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaGroupBorder.java | 62 final Insets internalInsets = sizeVariant.insets;
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WPanelPeer.java | 97 public Insets insets() { method in class:WPanelPeer
|
/openjdk7/jdk/test/java/awt/Frame/DynamicLayout/ |
H A D | DynamicLayout.java | 101 Insets insets = frame.getInsets(); 102 if (insets.right == 0 || insets.bottom == 0) { 103 System.out.println("The test environment must have non-zero right & bottom insets! The current insets are: " + insets);
|
/openjdk7/jdk/test/java/awt/GridBagLayout/GridBagLayoutIpadXYTest/ |
H A D | GridBagLayoutIpadXYTest.java | 67 gc.insets = fieldInsets;
|
/openjdk7/jdk/test/java/awt/event/HierarchyEvent/AncestorResized/ |
H A D | AncestorResized.java | 100 Insets insets = frame.getInsets(); 101 if (insets.right == 0 || insets.bottom == 0) { 103 System.out.println("The test environment must have non-zero right & bottom insets! The current insets are: " + insets);
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CWarningWindow.java | 331 Insets insets = ownerWindow.getInsets(); 332 int max = Math.max(insets.top, Math.max(insets.bottom, 333 Math.max(insets.left, insets.right)));
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XWarningWindow.java | 100 Insets insets = ownerWindow.getInsets(); 101 int max = Math.max(insets.top, Math.max(insets.bottom, 102 Math.max(insets.left, insets.right)));
|
/openjdk7/jdk/src/windows/native/sun/java2d/windows/ |
H A D | GDIWindowSurfaceData.cpp | 146 ::OffsetRect(&info->bounds, wsdo->insets.left, wsdo->insets.top); 148 ::OffsetViewportOrgEx(hDC, -wsdo->insets.left, -wsdo->insets.top, NULL); 520 comp->GetInsets(&wsdo->insets); 577 bounds->x1 - wsdo->insets.left, 578 bounds->y1 - wsdo->insets.top, 579 bounds->x2 - wsdo->insets.left, 580 bounds->y2 - wsdo->insets.top); 699 crect.left += wsdo->insets [all...] |