Searched refs:insets (Results 151 - 175 of 213) sorted by relevance

123456789

/openjdk7/jdk/src/share/classes/javax/swing/
H A DJTextField.java426 Insets insets = getInsets();
428 insets.left + insets.right;
H A DViewportLayout.java139 Insets insets = vp.getInsets();
H A DJViewport.java553 * or non-zero insets, isn't supported, to prevent the geometry
572 * Returns the insets (border) dimensions as (0,0,0,0), since borders
588 * @param insets the <code>Insets</code> object which can be reused
594 public final Insets getInsets(Insets insets) { argument
595 insets.left = insets.top = insets.right = insets.bottom = 0;
596 return insets;
H A DGroupLayout.java911 Insets insets = parent.getInsets();
912 int width = parent.getWidth() - insets.left - insets.right;
913 int height = parent.getHeight() - insets.top - insets.bottom;
928 info.setBounds(insets, width, ltr);
1109 Insets insets = host.getInsets();
1110 return new Dimension(width + insets.left + insets.right,
1111 height + insets
3656 setBounds(Insets insets, int parentWidth, boolean ltr) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DScrollPane.java83 * to get the current value for the insets. If the value of
84 * scrollbarsAlwaysVisible is false, then the value of the insets
436 // - don't use right/bottom insets since they vary depending
440 Insets insets = getInsets();
441 int viewWidth = size.width - insets.left*2;
442 int viewHeight = size.height - insets.top*2;
H A DComponent.java4246 private Insets insets; field in class:Component.BltBufferStrategy
4288 insets = getInsets_NoClientCode();
4289 int iWidth = width - insets.left - insets.right;
4290 int iHeight = height - insets.top - insets.bottom;
4333 g.constrain(-insets.left, -insets.top,
4334 backBuffer.getWidth(null) + insets.left,
4335 backBuffer.getHeight(null) + insets
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/
H A DDefaultSwatchChooserPanel.java174 Insets oldInsets = gbc.insets;
175 gbc.insets = new Insets(0, 0, 0, 10);
177 gbc.insets = oldInsets;
195 gbc.insets = new Insets(0, 0, 0, 2);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaComboBoxPopup.java368 final Insets insets = comboBox.getInsets();
369 final int buttonSize = height - (insets.top + insets.bottom);
370 final int diff = (buttonSize - elementSize) / 2 + insets.top;
H A DAquaOptionPaneUI.java90 cons.insets = new Insets(0, 0, 3, 0);
/openjdk7/jdk/src/windows/native/sun/java2d/windows/
H A DGDIWindowSurfaceData.h164 RECT insets; member in struct:_GDIWinSDOps
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXPanelPeer.java129 public Insets insets() { method in class:XPanelPeer
H A DXToolkit.java671 * window manager supports _NET protocol then the screen insets
675 * not set, we try to calculate the insets ourselves using
717 * Manual calculation of screen insets: get all the windows with
719 * hints' values to screen insets.
726 * During the manual calculation of screen insets we iterate
737 Insets insets = new Insets(0, 0, 0, 0);
751 * are not included to the screen insets.
781 insets.left = Math.max((int)Native.getLong(native_ptr, 0), insets.left);
782 insets
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicInternalFrameTitlePane.java510 // Take into account the border insets if any.
512 Insets insets = getBorder().getBorderInsets(c);
513 dim.height += insets.top + insets.bottom;
514 dim.width += insets.left + insets.right;
H A DBasicTreeUI.java526 private Rectangle getPathBounds(TreePath path, Insets insets, argument
531 bounds.x += insets.left;
534 insets.right;
536 bounds.y += insets.top;
1148 Insets insets = tree.getInsets();
1166 paintVerticalPartOfLeg(g, paintBounds, insets, parentPath);
1191 bounds = getPathBounds(path, insets, boundsBuffer);
1203 insets, parentPath);
1206 paintHorizontalPartOfLeg(g, paintBounds, insets,
1212 paintHorizontalPartOfLeg(g, paintBounds, insets,
1346 paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
1402 paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) argument
1477 paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
1516 paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
[all...]
/openjdk7/jdk/test/java/awt/Graphics2D/RenderClipTest/
H A DRenderClipTest.java1491 Insets insets = parent.getInsets();
1492 return new Dimension(insets.left+insets.right + w+(ncols+1)*hgap,
1493 insets.top+insets.bottom + h+(nrows+1)*vgap);
1513 Insets insets = parent.getInsets();
1514 int w = parent.getWidth() - insets.left - insets.right;
1515 int h = parent.getHeight() - insets.top - insets
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalRootPaneUI.java940 Insets insets = w.getInsets();
941 int xPosition = calculatePosition(x - insets.left,
942 w.getWidth() - insets.left - insets.right);
943 int yPosition = calculatePosition(y - insets.top,
944 w.getHeight() - insets.top - insets.bottom);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_ScrollPane.cpp160 jobject insets = local
165 if (insets != NULL && (inside.top-outside.top) != 0) {
166 (env)->SetIntField(insets, AwtInsets::topID, inside.top - outside.top);
167 (env)->SetIntField(insets, AwtInsets::leftID, inside.left - outside.left);
168 (env)->SetIntField(insets, AwtInsets::bottomID, outside.bottom - inside.bottom);
169 (env)->SetIntField(insets, AwtInsets::rightID, outside.right - inside.right);
172 env->DeleteLocalRef(insets);
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DCSSBorder.java198 public Insets getBorderInsets(Component c, Insets insets) { argument
200 insets.set(widths[TOP], widths[LEFT], widths[BOTTOM], widths[RIGHT]);
201 return insets;
H A DAccessibleHTML.java141 Insets insets = editor.getInsets();
142 alloc.x += insets.left;
143 alloc.y += insets.top;
144 alloc.width -= insets.left + insets.right;
145 alloc.height -= insets.top + insets.bottom;
/openjdk7/jdk/src/share/classes/java/beans/
H A DMetaData.java723 Insets insets = (Insets) oldInstance;
725 insets.top,
726 insets.left,
727 insets.bottom,
728 insets.right,
730 return new Expression(insets, insets.getClass(), "new", args);
1233 Insets insets = border.getBorderInsets();
1239 insets.top,
1240 insets
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthParser.java87 private static final String ELEMENT_INSETS = "insets";
388 private Insets parseInsets(String insets, String errorMsg) throws argument
390 StringTokenizer tokenizer = new StringTokenizer(insets);
703 // Type of the value: 0=idref, 1=boolean, 2=dimension, 3=insets,
732 "idref, boolean, dimension, insets or integer");
761 case 3: // insets
762 value = parseInsets(aValue, property + " invalid insets");
820 Insets insets = null;
828 insets = (Insets)lookup(attributes.getValue(i),
847 throw new SAXException("insets
[all...]
H A DImagePainter.java38 * by way of an insets, and the remaining regions are either tiled or
107 public Insets getInsets(Insets insets) { argument
108 if (insets == null) {
111 insets.left = this.dInsets.left;
112 insets.right = this.dInsets.right;
113 insets.top = this.dInsets.top;
114 insets.bottom = this.dInsets.bottom;
115 return insets;
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DMetacity.java411 Insets insets = getBorderInsets(context, null);
443 0, titleHeight, insets.left, height-titleHeight, jif);
445 width-insets.right, titleHeight, insets.right, height-titleHeight, jif);
447 0, height - insets.bottom, width, insets.bottom, jif);
1451 Insets getBorderInsets(SynthContext context, Insets insets) { argument
1454 if (insets == null) {
1455 insets = new Insets(0, 0, 0, 0);
1457 insets
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_wm.c1702 long *insets = NULL; /* NB: 64 bit: Format 32 props are 'long' */ local
1707 (unsigned char **)&insets);
1709 if (status != Success || insets == NULL) {
1716 XFree(insets);
1720 *left = (int32_t)insets[0];
1721 *right = (int32_t)insets[1];
1722 *top = (int32_t)insets[2];
1723 *bottom = (int32_t)insets[3];
1724 XFree(insets);
1733 * If WM implements the insets propert
[all...]
/openjdk7/jdk/src/share/demo/jfc/FileChooserDemo/
H A DFileChooserDemo.java150 private final static Insets insets = new Insets(5, 10, 0, 10); field in class:FileChooserDemo
303 JPanel control1 = new InsetPanel(insets);
327 JPanel control2 = new InsetPanel(insets);
348 JPanel control3 = new InsetPanel(insets);
371 JPanel control4 = new InsetPanel(insets);

Completed in 178 milliseconds

123456789