/openjdk7/jdk/test/javax/swing/ToolTipManager/7123767/ |
H A D | bug7123767.java | 89 Insets insets = Toolkit.getDefaultToolkit().getScreenInsets(config); 90 adjustInsets(rect, insets); 172 Insets insets = toolkit.getScreenInsets(config); 173 adjustInsets(rect, insets); 214 private static void adjustInsets(Rectangle rect, final Insets insets) { argument 215 rect.x += insets.left; 216 rect.y += insets.top; 217 rect.width -= (insets.left + insets.right); 218 rect.height -= (insets [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaTextFieldBorder.java | 116 final Insets insets = sizeVariant.insets; 119 return new InsetsUIResource(insets.top - shrinkage, insets.left, insets.bottom - shrinkage, insets.right); 122 return insets;
|
H A D | AquaComboBoxButton.java | 122 final Insets insets = getInsets(); 124 top += insets.top; 125 left += insets.left; 126 width -= insets.left + insets.right; 127 height -= insets.top + insets.bottom; 159 doRendererPaint(g, buttonModel, editable, insets, left, top, width, height); 163 protected void doRendererPaint(final Graphics g, final ButtonModel buttonModel, final boolean editable, final Insets insets, int left, int top, int width, int height) { argument 205 final int cWidth = width - (insets [all...] |
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 | AquaComboBoxUI.java | 403 final Insets insets = comboBox.getInsets(); 406 arrowButton.setBounds(insets.left, insets.top, width - (insets.left + insets.right), height - (insets.top + insets.bottom)); 414 final Insets insets = getInsets(); 415 final int buttonHeight = height - (insets.top + insets [all...] |
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...] |
H A D | AquaSpinnerUI.java | 170 Insets insets = spinner.getInsets(); 171 width = width - insets.left - insets.right; 172 height = height - insets.top - insets.bottom; 176 return insets.top + baseline; 573 final Insets insets = parent.getInsets(); 574 size.width += insets.left + insets.right; 575 size.height += insets [all...] |
H A D | AquaTabbedPaneUI.java | 632 final Insets insets = tabPane.getInsets(); 634 int x = insets.left; 635 int y = insets.top; 636 int w = width - insets.right - insets.left; 637 int h = height - insets.top - insets.bottom; 668 final Insets insets = tabPane.getInsets(); 672 int x = insets.left; 673 int y = insets [all...] |
/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 | 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...] |
H A D | SynthSeparatorUI.java | 212 Insets insets = c.getInsets(); 216 size = new Dimension(insets.left + insets.right + thickness, 217 insets.top + insets.bottom); 219 size = new Dimension(insets.left + insets.right, 220 insets.top + insets.bottom + thickness);
|
/openjdk7/jdk/src/share/demo/jfc/Metalworks/ |
H A D | MetalworksPrefs.java | 225 Insets insets = c.getInsets(); 226 int height = yInset + insets.top; 233 child.setLocation(xInset + insets.left, height); 240 Insets insets = c.getInsets(); 241 int height = yInset + insets.top; 242 int width = 0 + insets.left + insets.right; 249 width = Math.max(width, compSize.width + insets.left + insets.right + xInset 252 height += insets [all...] |
H A D | MetalworksDocumentFrame.java | 143 Insets insets = c.getInsets(); 150 int yPos = insets.top; 159 label.setBounds(insets.left, yPos, labelWidth, height); 160 field.setBounds(insets.left + labelWidth + xGap, 162 c.getSize().width - (labelWidth + xGap + insets.left 163 + insets.right), 171 Insets insets = c.getInsets(); 178 int yPos = insets.top;
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | CardLayout.java | 274 Insets insets = parent.getInsets(); 289 return new Dimension(insets.left + insets.right + w + hgap*2, 290 insets.top + insets.bottom + h + vgap*2); 304 Insets insets = parent.getInsets(); 319 return new Dimension(insets.left + insets.right + w + hgap*2, 320 insets.top + insets [all...] |
H A D | BorderLayout.java | 678 Insets insets = target.getInsets(); 679 dim.width += insets.left + insets.right; 680 dim.height += insets.top + insets.bottom; 734 Insets insets = target.getInsets(); 735 dim.width += insets.left + insets.right; 736 dim.height += insets.top + insets [all...] |
H A D | GridBagLayout.java | 113 * <dt>{@link GridBagConstraints#insets} 872 * constraints.insets.bottom + 874 * constraints.insets.left + 876 * constraints.insets.right + 878 * constraints.insets.top + 1303 constraints.insets.top + 1308 constraints.insets.bottom); 1318 constraints.insets.bottom + constraints.ipady; 1322 constraints.insets.top); 1401 constraints.insets [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/ |
H A D | LWTextComponentPeer.java | 99 final Insets insets; 101 insets = getDelegate().getInsets(); 103 final int borderHeight = insets.top + insets.bottom; 104 final int borderWidth = insets.left + insets.right;
|
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | EtchedBorder.java | 139 * Reinitialize the insets parameter with this Border's current Insets. 140 * @param c the component for which this border insets value applies 141 * @param insets the object to be reinitialized 143 public Insets getBorderInsets(Component c, Insets insets) { argument 144 insets.set(2, 2, 2, 2); 145 return insets;
|
H A D | StrokeBorder.java | 123 * Reinitializes the {@code insets} parameter 124 * with this border's current insets. 129 * @param c the component for which this border insets value applies 130 * @param insets the {@code Insets} object to be reinitialized 131 * @return the reinitialized {@code insets} parameter 133 * @throws NullPointerException if the specified {@code insets} is {@code null} 138 public Insets getBorderInsets(Component c, Insets insets) { argument 140 insets.set(size, size, size, size); 141 return insets;
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalComboBoxEditor.java | 114 public Insets getBorderInsets(Component c, Insets insets) { argument 115 insets.set(2, 2, 2, 0); 116 return insets;
|
H A D | MetalToolTipUI.java | 103 Insets insets = tip.getInsets(); 105 insets.left + 3, 106 insets.top, 107 size.width - (insets.left + insets.right) - 6 - accelSpacing, 108 size.height - (insets.top + insets.bottom)); 125 tip.getWidth() - 1 - insets.right
|
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/ |
H A D | ColorPanel.java | 66 Insets insets = button.getInsets(); 67 insets.left = button.getPreferredSize().width; 68 border = new EmptyBorder(insets); 70 gbc.insets.top = 5; 88 gbc.insets.top = 0; 89 gbc.insets.left = 5; 92 gbc.insets.top = 5; 96 gbc.insets.top = 0; 99 gbc.insets.top = 5;
|
/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/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...] |
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | VariableGridLayout.java | 65 Insets insets = parent.getInsets(); 86 y = insets.top; 97 x = insets.left; 144 x = insets.left; 155 y = insets.top; 198 Insets insets = parent.getInsets(); 213 int y = insets.top; 225 int x = insets.left;
|