/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | MatteBorder.java | 55 * Creates a matte border with the specified insets and color. 68 * Creates a matte border with the specified insets and color. 69 * @param borderInsets the insets of the border 79 * Creates a matte border with the specified insets and tile icon. 92 * Creates a matte border with the specified insets and tile icon. 93 * @param borderInsets the insets of the border 104 * insets will be calculated dynamically based on the size of 118 Insets insets = getBorderInsets(c); 129 g.fillRect(0, 0, width - insets.right, insets 164 getBorderInsets(Component c, Insets insets) argument 177 computeInsets(Insets insets) argument [all...] |
H A D | AbstractBorder.java | 70 * @param c the component for which this border insets value applies 78 * Reinitializes the insets parameter with this Border's current Insets. 79 * @param c the component for which this border insets value applies 80 * @param insets the object to be reinitialized 81 * @return the <code>insets</code> object 83 public Insets getBorderInsets(Component c, Insets insets) { argument 84 insets.left = insets.top = insets.right = insets [all...] |
H A D | CompoundBorder.java | 35 * the insets of an outside Border object. 98 * the insets of the outside border. 130 * Reinitialize the insets parameter with this Border's current Insets. 131 * @param c the component for which this border insets value applies 132 * @param insets the object to be reinitialized 134 public Insets getBorderInsets(Component c, Insets insets) { argument 137 insets.top = insets.left = insets.right = insets [all...] |
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...] |
H A D | EmptyBorder.java | 54 * Creates an empty border with the specified insets. 68 * Creates an empty border with the specified insets. 69 * @param borderInsets the insets of the border 86 * Reinitialize the insets parameter with this Border's current Insets. 87 * @param c the component for which this border insets value applies 88 * @param insets the object to be reinitialized 90 public Insets getBorderInsets(Component c, Insets insets) { argument 91 insets.left = left; 92 insets.top = top; 93 insets [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthBorder.java | 41 private Insets insets; field in class:SynthBorder 43 SynthBorder(SynthUI ui, Insets insets) { argument 45 this.insets = insets; 67 * Reinitializes the insets parameter with this Border's current Insets. 68 * @param c the component for which this border insets value applies 69 * @param insets the object to be reinitialized 70 * @return the <code>insets</code> object 72 public Insets getBorderInsets(Component c, Insets insets) { argument 73 if (this.insets ! [all...] |
/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/sun/awt/ |
H A D | HorizBagLayout.java | 89 Insets insets = target.insets(); 90 dim.width += insets.left + insets.right; 91 dim.height += insets.top + insets.bottom; 115 Insets insets = target.insets(); 116 dim.width += insets.left + insets [all...] |
H A D | VerticalBagLayout.java | 91 Insets insets = target.insets(); 92 dim.width += insets.left + insets.right; 93 dim.height += insets.top + insets.bottom; 118 Insets insets = target.insets(); 119 dim.width += insets.left + insets [all...] |
/openjdk7/jdk/test/java/beans/XMLEncoder/ |
H A D | java_awt_GridBagConstraints.java | 48 gbc.insets.top = 1; 49 gbc.insets.left = 2; 50 gbc.insets.right = 3; 51 gbc.insets.bottom = 4;
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/ui/ |
H A D | CompactLayout.java | 98 Insets insets = parent.getInsets(); 120 d.width += (insets.left + insets.right); 121 d.height += (insets.top + insets.bottom); 131 Insets insets = parent.getInsets(); 133 int c = horizontal ? insets.left : insets.top; 135 int ebx = size.width - insets.right; 136 size.width -= (insets [all...] |
/openjdk7/jdk/test/javax/swing/border/ |
H A D | Test7034614.java | 46 Insets insets = (Insets) broken.getBorderInsets(broken).clone(); 48 broken.validate(insets); 51 broken.validate(insets); 53 broken.validate(insets); 58 private Insets insets = new Insets(1, 2, 3, 4); field in class:Test7034614.BrokenBorder 60 private void validate(Insets insets) { argument 61 if (!this.insets.equals(insets)) { 67 return this.insets;
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/ |
H A D | GTKStyle.java | 304 * Returns the Insets. If <code>insets</code> is non-null the resulting 305 * insets will be placed in it, otherwise a new Insets object will be 309 * @param insets Where to place Insets 313 public Insets getInsets(SynthContext state, Insets insets) { argument 318 if (insets == null) { 319 insets = new Insets(0, 0, 0, 0); 321 insets.top = insets.bottom = insets.left = insets 399 getButtonInsets(SynthContext context, Insets insets) argument 436 getRadioInsets(SynthContext context, Insets insets) argument 462 getMenuBarInsets(SynthContext context, Insets insets) argument 474 getMenuItemInsets(SynthContext context, Insets insets) argument 486 getThicknessInsets(SynthContext context, Insets insets) argument 492 getSeparatorInsets(SynthContext context, Insets insets) argument 503 getSliderTrackInsets(SynthContext context, Insets insets) argument 511 getSimpleInsets(SynthContext context, Insets insets, int n) argument 516 getTabbedPaneTabInsets(SynthContext context, Insets insets) argument 528 getTextFieldInsets(SynthContext context, Insets insets) argument 549 getScrollBarInsets(SynthContext context, Insets insets) argument [all...] |
/openjdk7/jdk/test/sun/java2d/GdiRendering/ |
H A D | InsetClipping.java | 30 * we would ignore the window insets. 66 Insets insets = getInsets(); 68 area.subtract(new Area(new Rectangle(insets.left, insets.top, 69 getWidth() - insets.right, 70 getHeight() - insets.bottom))); 93 Insets insets = clipTest.getInsets(); 94 clientLoc.x += insets.left; 95 clientLoc.y += insets.top;
|
/openjdk7/jdk/test/java/awt/Frame/FrameSize/ |
H A D | TestFrameSize.java | 50 Insets insets = window.getInsets(); 54 System.out.println(" insets: " + insets); 57 size.width - insets.left - insets.right, 58 size.height - insets.top - insets.bottom);
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | OverlayLayout.java | 141 Insets insets = target.getInsets(); 142 size.width += insets.left + insets.right; 143 size.height += insets.top + insets.bottom; 161 Insets insets = target.getInsets(); 162 size.width += insets.left + insets.right; 163 size.height += insets.top + insets [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/ |
H A D | DiagramComponent.java | 42 private final Insets insets = new Insets(0, 0, 0, 0); field in class:DiagramComponent 59 getInsets(this.insets); 60 this.width = getWidth() - this.insets.left - this.insets.right; 61 this.height = getHeight() - this.insets.top - this.insets.bottom; 95 g.drawImage(this.image, this.insets.left, this.insets.top, this.width, this.height, this); 102 int x = getValue(this.panel.getValueX(), this.insets.left, this.width); 103 int y = getValue(this.panel.getValueY(), this.insets [all...] |
H A D | CenterLayout.java | 45 Insets insets = container.getInsets(); 46 size.width += insets.left + insets.right; 47 size.height += insets.top + insets.bottom;
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifToggleButtonUI.java | 105 Insets insets = b.getInsets(); 111 g.fillRect(insets.left - margin.left, 112 insets.top - margin.top, 113 size.width - (insets.left-margin.left) - (insets.right - margin.right), 114 size.height - (insets.top-margin.top) - (insets.bottom - margin.bottom));
|
/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...] |
H A D | Insets.java | 97 * specified top, left, bottom, and right insets. 127 * Checks whether two insets objects are equal. Two instances 131 * @return <code>true</code> if the two insets are equal; 137 Insets insets = (Insets)obj; 138 return ((top == insets.top) && (left == insets.left) && 139 (bottom == insets.bottom) && (right == insets.right));
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalComboBoxButton.java | 116 Insets insets = getInsets(); 118 int width = getWidth() - (insets.left + insets.right); 119 int height = getHeight() - (insets.top + insets.bottom); 125 int left = insets.left; 126 int top = insets.top; 198 int cWidth = width - (insets.right + iconWidth); 219 Insets insets = getInsets(); 220 ret.width = insets [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaTextFieldUI.java | 140 Insets insets = c.getInsets(); 142 if (insets == null) insets = new Insets(0, 0, 0, 0); 144 insets.top -= margin.top; 145 insets.left -= margin.left; 146 insets.bottom -= margin.bottom; 147 insets.right -= margin.right; 152 g.fillRect(insets.left - 2, insets.top - shrinkage - 1, width - insets [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | CenterLayout.java | 45 Insets insets = container.getInsets(); 47 return new Dimension(size.width + insets.left + insets.right, 48 size.height + insets.top + insets.bottom);
|
H A D | BasicBorders.java | 205 public Insets getBorderInsets(Component c, Insets insets) { argument 213 insets.left = left; 214 insets.top = top; 215 insets.right = right; 216 insets.bottom = bottom; 219 insets.left = margin.left; 220 insets.top = margin.top; 221 insets.right = margin.right; 222 insets.bottom = margin.bottom; 224 return insets; 262 getBorderInsets(Component c, Insets insets) argument 285 getBorderInsets(Component c, Insets insets) argument 321 getBorderInsets(Component c, Insets insets) argument 347 getBorderInsets(Component c, Insets insets) argument 354 getBorderInsets(Component c, Insets insets) argument 401 getBorderInsets(Component c, Insets insets) argument [all...] |