/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthLookAndFeel.java | 319 static Insets getPaintingInsets(SynthContext state, Insets insets) { argument 321 insets = state.getStyle().getInsets(state, insets); 324 insets = state.getComponent().getInsets(insets); 326 return insets;
|
H A D | SynthTreeUI.java | 314 Insets insets = tree.getInsets(); 360 paintBounds, insets, bounds, rowBounds, path, 378 paintVerticalPartOfLeg(g, paintBounds, insets, parentPath); 400 paintVerticalPartOfLeg(g, paintBounds, insets, 405 paintBounds, insets, bounds, 411 paintBounds, insets, bounds, 418 insets, bounds, path, row, 479 Insets insets, Rectangle bounds, 485 super.paintHorizontalPartOfLeg(g, clipBounds, insets, bounds, 506 Rectangle clipBounds, Insets insets, 478 paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument 505 paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) argument 523 paintRow(TreeCellRenderer renderer, DefaultTreeCellRenderer dtcr, SynthContext treeContext, SynthContext cellContext, Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, Rectangle rowBounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument 592 paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument [all...] |
H A D | ImagePainter.java | 38 * 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;
|
H A D | SynthParser.java | 87 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...] |
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | NullComponentPeer.java | 218 return insets(); 227 public Insets insets() { method in class:NullComponentPeer
|
/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...] |
H A D | Metacity.java | 411 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/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifFileChooserUI.java | 62 private static final Insets insets = new Insets(10, 10, 10, 10); field in class:MotifFileChooserUI 286 return insets;
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | XPStyle.java | 313 public Insets getBorderInsets(Component c, Insets insets) { argument 327 insets.top = (margin != null? margin.top : 0) + thickness; 328 insets.left = (margin != null? margin.left : 0) + thickness; 329 insets.bottom = (margin != null? margin.bottom : 0) + thickness; 330 insets.right = (margin != null? margin.right : 0) + thickness; 332 return insets; 375 public Insets getBorderInsets(Component c, Insets insets) { argument 393 insets.top = (margin != null? margin.top : 0) + borderInsets.top; 394 insets.left = (margin != null? margin.left : 0) + borderInsets.left; 395 insets 407 getBorderInsets(Component c, Insets insets) argument [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaTreeUI.java | 159 protected void paintVerticalPartOfLeg(final Graphics g, final Rectangle clipBounds, final Insets insets, final TreePath path) { argument 161 super.paintVerticalPartOfLeg(g, clipBounds, insets, path); 165 protected void paintHorizontalPartOfLeg(final Graphics g, final Rectangle clipBounds, final Insets insets, final Rectangle bounds, final TreePath path, final int row, final boolean isExpanded, final boolean hasBeenExpanded, final boolean isLeaf) { argument 167 super.paintHorizontalPartOfLeg(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf); 183 * <code>insets</code>. 185 protected void paintExpandControl(final Graphics g, final Rectangle clipBounds, final Insets insets, final Rectangle bounds, final TreePath path, final int row, final boolean isExpanded, final boolean hasBeenExpanded, final boolean isLeaf) { argument 199 super.paintExpandControl(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf); 206 super.paintExpandControl(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf);
|
H A D | AquaUtils.java | 263 final Insets insets; field in class:AquaUtils.ShadowBorder 270 this.insets = new Insets(halfBlur - offsetY, halfBlur - offsetX, halfBlur + offsetY, halfBlur + offsetX); 283 return insets; 300 final int adjX = (int)(x + blur + offsetX + (insets.left * distance)); 301 final int adjY = (int)(y + blur + offsetY + (insets.top * distance)); 302 final int adjW = (int)(width - (insets.left + insets.right) * distance); 303 final int adjH = (int)(height - (insets.top + insets.bottom) * distance);
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_ScrollPane.cpp | 160 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);
|
H A D | ThemeReader.cpp | 492 jobject insets = env->NewObject(insetsClassID, local 501 return insets;
|
H A D | awt_Toolkit.cpp | 2366 jobject insets = NULL; local 2372 insets = env->NewObject(env->FindClass("java/awt/Insets"), 2383 return insets;
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JViewport.java | 553 * 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 D | GroupLayout.java | 911 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...] |
H A D | JComponent.java | 979 * 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...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XWM.java | 54 private final static PlatformLogger insLog = PlatformLogger.getLogger("sun.awt.X11.insets.XWM"); 159 static Insets normalize(Insets insets) { argument 160 if (insets.top > 64 || insets.top < 0) { 161 insets.top = 28; 163 if (insets.left > 32 || insets.left < 0) { 164 insets.left = 6; 166 if (insets.right > 32 || insets [all...] |
H A D | XComponentPeer.java | 807 public Insets insets() { method in class:XComponentPeer
|
H A D | XTextAreaPeer.java | 1243 public Insets getBorderInsets(Component c, Insets insets) { argument 1244 insets.top = insets.left = insets.bottom = insets.right = 2; 1245 return insets;
|
H A D | XWindowPeer.java | 65 private static final PlatformLogger insLog = PlatformLogger.getLogger("sun.awt.X11.insets.XWindowPeer"); 553 public Insets insets() { method in class:XWindowPeer
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicSplitPaneUI.java | 787 Insets insets = splitPane.getInsets(); 788 int bottomI = (insets != null) ? insets.bottom : 0; 789 int rightI = (insets != null) ? insets.right : 0; 953 Insets insets = splitPane.getInsets(); 956 location != insets.top && 957 location != splitPane.getHeight()-divider.getHeight()-insets.top) || 959 location != insets.left && 960 location != splitPane.getWidth()-divider.getWidth()-insets 1652 getAvailableSize(Dimension containerSize, Insets insets) argument 1666 getInitialLocation(Insets insets) argument 1678 setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize) argument 1731 getSizeForPrimaryAxis(Insets insets, boolean isTop) argument 1753 getSizeForSecondaryAxis(Insets insets, boolean isTop) argument [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/ |
H A D | LWWindowPeer.java | 71 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/solaris/native/sun/awt/ |
H A D | awt_wm.c | 1702 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/classes/java/awt/ |
H A D | Container.java | 364 * Determines the insets of this container, which indicate the size 369 * @return the insets of this container. 375 return insets(); 383 public Insets insets() { method in class:Container
|