Searched refs:insets (Results 176 - 200 of 213) sorted by relevance

123456789

/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaInternalFrameBorder.java55 private static final int kContentTester = 100; // For getting region insets
93 private Insets fBorderInsets; // Cached insets object
432 final Insets insets = frame.getInsets();
433 x += insets.left;
434 y += insets.top + metrics.downShift;
H A DAquaButtonUI.java153 protected void setButtonMarginIfNeeded(final AbstractButton b, final Insets insets) { argument
156 b.setMargin(insets);
322 // re-initialize the view rect to the selected insets
H A DAquaButtonBorder.java90 final Insets subInsets = sizeVariant.insets;
144 * Returns the insets of the border.
145 * @param c the component for which this border insets value applies
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXTextAreaPeer.java1243 public Insets getBorderInsets(Component c, Insets insets) { argument
1244 insets.top = insets.left = insets.bottom = insets.right = 2;
1245 return insets;
/openjdk7/jdk/src/share/classes/sun/print/
H A DServiceDialog.java675 c.insets = panelInsets;
737 c.insets = compInsets;
957 c.insets = compInsets;
1169 c.insets = compInsets;
1297 c.insets = panelInsets;
1344 c.insets = compInsets;
1875 c.insets = compInsets;
2105 c.insets = compInsets;
2261 c.insets = panelInsets;
2498 c.insets
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicProgressBarUI.java257 Insets insets = progressBar.getInsets();
258 int y = insets.top;
259 height = height - insets.top - insets.bottom;
H A DBasicSliderUI.java324 Insets insets = slider.getInsets();
328 int contentHeight = height - insets.top - insets.bottom -
337 int trackY = insets.top + focusInsets.top +
356 int contentY = focusInsets.top + insets.top;
359 focusInsets.bottom - insets.top - insets.bottom -
H A DBasicTextUI.java998 Insets insets = editor.getInsets();
999 alloc.x += insets.left;
1000 alloc.y += insets.top;
1001 alloc.width -= insets.left + insets.right;
1002 alloc.height -= insets.top + insets.bottom;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthOptionPaneUI.java265 cons.insets = new Insets(0,0,3,0);
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWWindowPeer.java71 private Insets insets = new Insets(0, 0, 0, 0); field in class:LWWindowPeer
377 // instead of pulling 'insets' field up to LWComponentPeer
378 // no need to add insets since Window's notion of width and height includes insets.
416 * Overridden from LWContainerPeer to return the correct insets.
423 return insets;
669 * user or window insets are changed. There's no notifyReshape() in
764 * point of the client area is (insets.top, insets.left).
1180 * Request the window insets fro
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWScrollPanePeer.java68 public Insets insets() { method in class:WScrollPanePeer
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/
H A DSynthFileChooserUIImpl.java1014 Insets insets = container.getInsets();
1015 int yLocation = insets.top + topMargin;
1024 xLocation = container.getSize().width - insets.left - maxWidth;
1027 xLocation = insets.left;
/openjdk7/jdk/src/share/classes/javax/swing/
H A DSwingUtilities.java1934 * adjusted so as not to include the border area (the insets).
1952 Insets insets = c.getInsets();
1958 rect.x = insets.left;
1959 rect.y = insets.top;
1960 rect.width = c.getWidth() - insets.left - insets.right;
1961 rect.height = c.getHeight() - insets.top - insets.bottom;
H A DJComponent.java979 * paint in the insets area allocated to the border. Subclasses can
1761 * responsible for defining the insets for the component
1762 * (overriding any insets set directly on the component) and
1764 * bounds of those insets. Borders should be used (rather
1765 * than insets) for creating both decorative and non-decorative
1817 * border's insets; otherwise calls <code>super.getInsets</code>.
1819 * @return the value of the insets property
1835 * If <code>insets</code> is null, this will allocate a new one.
1837 * @param insets the <code>Insets</code> object, which can be reused
1843 public Insets getInsets(Insets insets) { argument
[all...]
H A DJList.java2403 * insets. The height is the {@code fixedCellHeight} multiplied by the
2404 * {@code visibleRowCount}, plus the list's vertical insets.
2417 * plus the list's vertical insets.
2435 Insets insets = getInsets();
2436 int dx = insets.left + insets.right;
2437 int dy = insets.top + insets.bottom;
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Window.cpp87 jobject insets; member in struct:UpdateInsetsStruct
1306 * Get and return the insets for this window (container, really).
1309 BOOL AwtWindow::UpdateInsets(jobject insets) argument
1317 // fix 4167248 : don't update insets when frame is iconified
1324 * Code to calculate insets. Stores results in frame's data
1372 /* Also, 5089312: Window insets should be 0. */
1388 /* Get insets into our peer directly */
1398 /* Get insets into the Inset object (if any) that was passed */
1399 if (insets != NULL) {
1400 (env)->SetIntField(insets, AwtInset
2336 jobject insets = uis->insets; local
3220 Java_sun_awt_windows_WWindowPeer_updateInsets(JNIEnv *env, jobject self, jobject insets) argument
[all...]
H A Dawt_Component.cpp142 RECT *insets; member in struct:GetInsetsStruct
2162 void AwtComponent::PaintUpdateRgn(const RECT *insets) argument
2186 if (insets != NULL) {
2187 ::OffsetRgn(rgn, insets->left, insets->top);
4872 RECT insets; local
4873 GetInsets(&insets);
4892 x+insets.left, y+insets.top,
4937 RECT insets; local
6285 AwtComponent_GetInsets(JNIEnv *env, jobject peer, RECT *insets) argument
6993 jobject insets = local
[all...]
H A Dawt_Window.h85 /* Update the insets for this Window (container), its peer &
88 BOOL UpdateInsets(jobject insets = 0);
262 RECT m_insets; /* a cache of the insets being used */
263 RECT m_old_insets; /* help determine if insets change */
H A DThemeReader.cpp492 jobject insets = env->NewObject(insetsClassID, local
501 return insets;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalFileChooserUI.java1185 Insets insets = container.getInsets();
1186 int yLocation = insets.top + topMargin;
1195 xLocation = container.getSize().width - insets.left - maxWidth;
1198 xLocation = insets.left;
/openjdk7/jdk/src/share/demo/jfc/Font2DTest/
H A DFont2DTest.java183 gbc.insets = new Insets( 2, 0, 2, 2 );
227 gbc.insets = new Insets( 2, 0, 0, 2 );
233 gbc.insets = new Insets( 0, 2, 0, 0 );
246 gbcLabel.insets = new Insets( 2, 2, 2, 0 );
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DJTextComponent.java2766 Insets insets = JTextComponent.this.getInsets();
2767 alloc.x += insets.left;
2768 alloc.y += insets.top;
2769 alloc.width -= insets.left + insets.right;
2770 alloc.height -= insets.top + insets.bottom;
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifFileChooserUI.java62 private static final Insets insets = new Insets(10, 10, 10, 10); field in class:MotifFileChooserUI
286 return insets;
/openjdk7/jdk/src/windows/native/sun/java2d/windows/
H A DGDIRenderer.cpp911 ::OffsetRect(&r, dx-wsdo->insets.left, dy-wsdo->insets.top);
/openjdk7/langtools/test/tools/javac/failover/
H A DCheckAttributedTree.java583 fc.insets.bottom = 10;
585 fc.insets.bottom = 0;

Completed in 181 milliseconds

123456789