/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalSplitPaneDivider.java | 82 Insets insets = getInsets(); 89 if (insets != null) { 90 size.width -= (insets.left + insets.right); 91 size.height -= (insets.top + insets.bottom); 92 drawX += insets.left; 93 drawY += insets.top; 329 Insets insets = getInsets(); 339 int extraY = (insets ! [all...] |
H A D | MetalComboBoxUI.java | 269 Insets insets = comboBox.getInsets(); 272 ? (comboBox.getWidth() - insets.right - buttonWidth) 273 : insets.left, 274 insets.top, buttonWidth, 275 comboBox.getHeight() - insets.top - insets.bottom); 278 Insets insets = comboBox.getInsets(); 281 arrowButton.setBounds( insets.left, insets.top, 282 width - (insets [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
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 | SynthToolTipUI.java | 182 Insets insets = tip.getInsets(); 185 Rectangle paintTextR = new Rectangle(insets.left, insets.top, 186 tip.getWidth() - (insets.left + insets.right), 187 tip.getHeight() - (insets.top + insets.bottom)); 194 context, g, tip.getTipText(), insets.left, insets.top, -1); 204 Insets insets [all...] |
H A D | SynthSpinnerUI.java | 395 Insets insets = parent.getInsets(); 396 size.width += insets.left + insets.right; 397 size.height += insets.top + insets.bottom; 412 Insets insets = parent.getInsets(); 413 int availWidth = parent.getWidth() - (insets.left + insets.right); 414 int availHeight = parent.getHeight() - (insets.top + insets [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | OrientableFlowLayout.java | 158 Insets insets = target.insets();; 159 dim.width += insets.left + insets.right + vHGap*2; 160 dim.height += insets.top + insets.bottom + vVGap*2; 193 Insets insets = target.insets(); 194 dim.width += insets.left + insets [all...] |
H A D | VariableGridLayout.java | 169 Insets insets = parent.insets(); 188 int w = size.width - (insets.left + insets.right); 189 int h = size.height - (insets.top + insets.bottom); 196 for (int c = 0, x = insets.left ; c < ncols ; c++) { 198 for (int r = 0, y = insets.top ; r < nrows ; r++) {
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | GridLayout.java | 312 * minus one, plus the left and right insets of the target container. 317 * plus the top and bottom insets of the target container. 327 Insets insets = parent.getInsets(); 349 return new Dimension(insets.left + insets.right + ncols*w + (ncols-1)*hgap, 350 insets.top + insets.bottom + nrows*h + (nrows-1)*vgap); 361 * plus the left and right insets of the target container. 366 * the top and bottom insets of the target container. 376 Insets insets [all...] |
H A D | FlowLayout.java | 434 Insets insets = target.getInsets(); 435 dim.width += insets.left + insets.right + hgap*2; 436 dim.height += insets.top + insets.bottom + vgap*2; 486 Insets insets = target.getInsets(); 487 dim.width += insets.left + insets.right + hgap*2; 488 dim.height += insets.top + insets [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CPlatformComponent.java | 63 final Insets insets = platformWindow.getPeer().getInsets(); 64 nativeSetBounds(getPointer(), x - insets.left, y - insets.top, w, h);
|
/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;
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicSplitPaneDivider.java | 251 * border's insets, else calls super.getInsets. 253 * @return the value of the insets property. 714 Insets insets = splitPane.getInsets(); 718 if (insets != null) { 719 minX += insets.left; 726 int right = (insets != null) ? insets.right : 0; 732 int right = (insets != null) ? insets.right : 0; 833 Insets insets [all...] |
H A D | BasicSplitPaneUI.java | 787 Insets insets = splitPane.getInsets(); 788 int bottomI = (insets != null) ? insets.bottom : 0; 789 int rightI = (insets != null) ? insets.right : 0; 953 Insets insets = splitPane.getInsets(); 956 location != insets.top && 957 location != splitPane.getHeight()-divider.getHeight()-insets.top) || 959 location != insets.left && 960 location != splitPane.getWidth()-divider.getWidth()-insets 1652 getAvailableSize(Dimension containerSize, Insets insets) argument 1666 getInitialLocation(Insets insets) argument 1678 setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize) argument 1731 getSizeForPrimaryAxis(Insets insets, boolean isTop) argument 1753 getSizeForSecondaryAxis(Insets insets, boolean isTop) argument [all...] |
H A D | BasicToolTipUI.java | 137 Insets insets = c.getInsets(); 139 insets.left + 3, 140 insets.top, 141 size.width - (insets.left + insets.right) - 6, 142 size.height - (insets.top + insets.bottom)); 156 Insets insets = c.getInsets(); 158 Dimension prefSize = new Dimension(insets.left+insets [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_Window.h | 37 jfieldID insets; member in struct:MWindowPeerIDs
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifButtonUI.java | 141 Insets insets = b.getInsets(); 144 g.fillRect(insets.left - margin.left, 145 insets.top - margin.top, 146 size.width - (insets.left-margin.left) - (insets.right - margin.right), 147 size.height - (insets.top-margin.top) - (insets.bottom - margin.bottom));
|
H A D | MotifScrollBarUI.java | 61 Insets insets = c.getInsets(); 62 int dx = insets.left + insets.right; 63 int dy = insets.top + insets.bottom;
|
H A D | MotifComboBoxUI.java | 77 Insets insets = getInsets(); 79 size.height += insets.top + insets.bottom; 81 size.width += insets.left + insets.right + buttonSize; 226 Insets insets = getInsets(); 228 return new Rectangle(insets.left, insets.top, 229 (width - (insets.left + insets [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/ |
H A D | SmartGridLayout.java | 75 Insets insets = c.getInsets(); 78 int horizLoc = insets.left; 80 int vertLoc = insets.top; 92 int horizLoc = c.getWidth() - insets.right; 94 int vertLoc = insets.top; 115 Insets insets = c.getInsets(); 130 height += (yGap * (rows - 1)) + insets.top + insets.bottom; 131 width += (xGap * (columns - 1)) + insets.right + insets [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | BoxLayout.java | 304 Insets insets = target.getInsets(); 305 size.width = (int) Math.min((long) size.width + (long) insets.left + (long) insets.right, Integer.MAX_VALUE); 306 size.height = (int) Math.min((long) size.height + (long) insets.top + (long) insets.bottom, Integer.MAX_VALUE); 329 Insets insets = target.getInsets(); 330 size.width = (int) Math.min((long) size.width + (long) insets.left + (long) insets.right, Integer.MAX_VALUE); 331 size.height = (int) Math.min((long) size.height + (long) insets.top + (long) insets [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsInternalFrameUI.java | 120 public Insets getBorderInsets(Component c, Insets insets) { argument 121 insets.top = 4; 122 insets.left = leftSkin.getWidth(); 123 insets.right = rightSkin.getWidth(); 124 insets.bottom = bottomSkin.getHeight(); 126 return insets;
|
/openjdk7/jdk/test/java/awt/Focus/NonFocusableResizableTooSmall/ |
H A D | NonFocusableResizableTooSmall.java | 74 final Insets insets = frame.getInsets(); 75 System.out.println("The insets of the frame: " + insets); 76 if (insets.right == 0 || insets.bottom == 0) { 77 System.out.println("The test environment must have non-zero right & bottom insets!"); 95 robot.mouseMove(bounds1.x + insets.left + insets.right - 5, bounds1.y + bounds1.height - 1); 106 if (bounds2.width <= (insets.left + 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/test/javax/swing/JSpinner/6532833/ |
H A D | bug6532833.java | 70 Insets insets = spinner.getInsets(); 72 if (spinner.getWidth() != insets.left + insets.right + spinner.getEditor().getWidth()) {
|
/openjdk7/jdk/test/javax/swing/border/ |
H A D | Test6910490.java | 48 Insets insets = new Insets(10, 10, 10, 10); 52 create("Color", size, new MatteBorder(insets, RED)), 53 create("Icon", size, new MatteBorder(insets, this)));
|