Searched defs:insets (Results 1 - 25 of 79) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthBorder.java41 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...]
H A DSynthStyle.java862 * @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;
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_Window.h37 jfieldID insets; member in struct:MWindowPeerIDs
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPanelPeer.java97 public Insets insets() { method in class:WPanelPeer
/openjdk7/jdk/test/javax/swing/border/
H A DTest7034614.java46 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;
H A DTest4856008.java27 * @summary Tests border insets
154 Insets insets = new Insets(0, 0, 0, 0);
155 if (insets != border.getBorderInsets(getComponent(border), insets)) {
158 test(border, insets);
161 private static void test(Border border, Insets insets) { argument
163 if (insets == result) {
166 if (!insets.equals(result)) {
167 throw new Error("both insets are not equal for " + border.getClass());
/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DAbstractBorder.java70 * @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 DCompoundBorder.java35 * 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 DEmptyBorder.java54 * 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...]
H A DStrokeBorder.java123 * 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;
H A DEtchedBorder.java139 * 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 DLineBorder.java153 * Reinitialize the insets parameter with this Border's current Insets.
154 * @param c the component for which this border insets value applies
155 * @param insets the object to be reinitialized
157 public Insets getBorderInsets(Component c, Insets insets) { argument
158 insets.set(thickness, thickness, thickness, thickness);
159 return insets;
H A DMatteBorder.java55 * 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 DSoftBevelBorder.java151 * Reinitialize the insets parameter with this Border's current Insets.
152 * @param c the component for which this border insets value applies
153 * @param insets the object to be reinitialized
155 public Insets getBorderInsets(Component c, Insets insets) { argument
156 insets.set(3, 3, 3, 3);
157 return insets;
H A DBevelBorder.java122 * 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/metal/
H A DMetalComboBoxEditor.java114 public Insets getBorderInsets(Component c, Insets insets) { argument
115 insets.set(2, 2, 2, 0);
116 return insets;
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/
H A DDiagramComponent.java42 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...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DCommentView.java129 public Insets getBorderInsets(Component c, Insets insets) { argument
130 Insets retI = super.getBorderInsets(c, insets);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaComboBoxButton.java122 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...]
/openjdk7/jdk/test/javax/swing/ToolTipManager/7123767/
H A Dbug7123767.java89 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/solaris/classes/sun/awt/X11/
H A DXPanelPeer.java129 public Insets insets() { method in class:XPanelPeer
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicBorders.java205 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...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsBorders.java136 public Insets getBorderInsets(Component c, Insets insets) { argument
137 insets.set(1,1,1,1);
138 return insets;
225 public Insets getBorderInsets(Component c, Insets insets) { argument
226 insets.set(1,1,1,1);
228 return insets;
234 insets.left = gripInset;
236 insets.right = gripInset;
239 insets.top = gripInset;
242 return insets;
[all...]
H A DWindowsInternalFrameUI.java120 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/make/tools/src/build/tools/generatenimbus/
H A DUIDefault.java81 @XmlElement private Insets insets; field in class:UIProperty
115 prefix, getName(), insets.write(true));

Completed in 129 milliseconds

1234