/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/ |
H A D | SynthBorder.java | 42 private Insets insets; field in class:SynthBorder 44 SynthBorder(SynthUI ui, Insets insets) { argument 46 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...] |
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/border/ |
H A D | MatteBorder.java | 62 * Creates a matte border with the specified insets and color. 75 * Creates a matte border with the specified insets and color. 76 * @param borderInsets the insets of the border 86 * Creates a matte border with the specified insets and tile icon. 99 * Creates a matte border with the specified insets and tile icon. 100 * @param borderInsets the insets of the border 111 * insets will be calculated dynamically based on the size of 125 Insets insets = getBorderInsets(c); 136 g.fillRect(0, 0, width - insets.right, insets 171 getBorderInsets(Component c, Insets insets) argument 184 computeInsets(Insets insets) argument [all...] |
H A D | AbstractBorder.java | 71 * @param c the component for which this border insets value applies 79 * Reinitializes the insets parameter with this Border's current Insets. 80 * @param c the component for which this border insets value applies 81 * @param insets the object to be reinitialized 82 * @return the <code>insets</code> object 84 public Insets getBorderInsets(Component c, Insets insets) { argument 85 insets.left = insets.top = insets.right = insets [all...] |
H A D | CompoundBorder.java | 35 * the insets of an outside Border object. 105 * the insets of the outside border. 137 * Reinitialize the insets parameter with this Border's current Insets. 138 * @param c the component for which this border insets value applies 139 * @param insets the object to be reinitialized 141 public Insets getBorderInsets(Component c, Insets insets) { argument 144 insets.top = insets.left = insets.right = insets [all...] |
H A D | TitledBorder.java | 272 Insets insets = getBorderInsets(border, c, new Insets(0, 0, 0, 0)); 284 insets.left = 0; 285 insets.right = 0; 290 insets.top = edge + insets.top/2 - labelH/2; 291 if (insets.top < edge) { 292 borderY -= insets.top; 293 borderH += insets.top; 296 labelY += insets.top; 300 labelY += insets 376 getBorderInsets(Component c, Insets insets) argument 745 getBorderInsets(Border border, Component c, Insets insets) argument [all...] |
H A D | EmptyBorder.java | 70 * Creates an empty border with the specified insets. 84 * Creates an empty border with the specified insets. 85 * @param borderInsets the insets of the border 102 * Reinitialize the insets parameter with this Border's current Insets. 103 * @param c the component for which this border insets value applies 104 * @param insets the object to be reinitialized 106 public Insets getBorderInsets(Component c, Insets insets) { argument 107 insets.left = left; 108 insets.top = top; 109 insets [all...] |
/openjdk10/jdk/src/java.desktop/unix/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...] |
/openjdk10/jdk/src/demo/share/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...] |
/openjdk10/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;
|
/openjdk10/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;
|
/openjdk10/jdk/test/java/awt/Frame/MaximizedToUnmaximized/ |
H A D | MaximizedToUnmaximized.java | 55 Insets insets = Toolkit.getDefaultToolkit().getScreenInsets(gc); 56 int x = bounds.x + insets.left; 57 int y = bounds.y + insets.top; 58 int width = bounds.width - insets.left - insets.right; 59 int height = bounds.height - insets.top - insets.bottom;
|
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/ |
H A D | GTKStyle.java | 318 * Returns the Insets. If <code>insets</code> is non-null the resulting 319 * insets will be placed in it, otherwise a new Insets object will be 323 * @param insets Where to place Insets 327 public Insets getInsets(SynthContext state, Insets insets) { argument 332 if (insets == null) { 333 insets = new Insets(0, 0, 0, 0); 335 insets.top = insets.bottom = insets.left = insets 413 getButtonInsets(SynthContext context, Insets insets) argument 450 getRadioInsets(SynthContext context, Insets insets) argument 476 getMenuBarInsets(SynthContext context, Insets insets) argument 488 getMenuItemInsets(SynthContext context, Insets insets) argument 500 getThicknessInsets(SynthContext context, Insets insets) argument 506 getSeparatorInsets(SynthContext context, Insets insets) argument 517 getSliderTrackInsets(SynthContext context, Insets insets) argument 525 getSimpleInsets(SynthContext context, Insets insets, int n) argument 530 getTabbedPaneTabInsets(SynthContext context, Insets insets) argument 542 getTextFieldInsets(SynthContext context, Insets insets) argument 563 getScrollBarInsets(SynthContext context, Insets insets) argument [all...] |
/openjdk10/jdk/test/java/awt/Multiscreen/MultiScreenInsetsTest/ |
H A D | MultiScreenInsetsTest.java | 67 Insets insets = Toolkit.getDefaultToolkit().getScreenInsets(gc); 82 if (bounds.x + insets.left != frameBounds.x 83 || bounds.y + insets.top != frameBounds.y 84 || bounds.width - insets.right - insets.left != frameBounds.width 85 || bounds.height - insets.bottom - insets.top != frameBounds.height) { 87 screen + " insets: " + insets);
|
/openjdk10/jdk/test/sun/java2d/GdiRendering/ |
H A D | InsetClipping.java | 31 * we would ignore the window insets. 67 Insets insets = getInsets(); 69 area.subtract(new Area(new Rectangle(insets.left, insets.top, 70 getWidth() - insets.right, 71 getHeight() - insets.bottom))); 94 Insets insets = clipTest.getInsets(); 95 clientLoc.x += insets.left; 96 clientLoc.y += insets.top;
|
/openjdk10/jdk/test/java/awt/Frame/FrameSize/ |
H A D | TestFrameSize.java | 51 Insets insets = window.getInsets(); 55 System.out.println(" insets: " + insets); 58 size.width - insets.left - insets.right, 59 size.height - insets.top - insets.bottom);
|
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/ |
H A D | OverlayLayout.java | 143 Insets insets = target.getInsets(); 144 size.width += insets.left + insets.right; 145 size.height += insets.top + insets.bottom; 163 Insets insets = target.getInsets(); 164 size.width += insets.left + insets.right; 165 size.height += insets.top + insets [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/colorchooser/ |
H A D | DiagramComponent.java | 43 private final Insets insets = new Insets(0, 0, 0, 0); field in class:DiagramComponent 60 getInsets(this.insets); 61 this.width = getWidth() - this.insets.left - this.insets.right; 62 this.height = getHeight() - this.insets.top - this.insets.bottom; 97 g.drawImage(this.image, this.insets.left, this.insets.top, this.width, this.height, this); 104 int x = getValue(this.panel.getValueX(), this.insets.left, this.width); 105 int y = getValue(this.panel.getValueY(), this.insets [all...] |
H A D | CenterLayout.java | 46 Insets insets = container.getInsets(); 47 size.width += insets.left + insets.right; 48 size.height += insets.top + insets.bottom;
|
/openjdk10/jdk/src/java.desktop/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));
|
/openjdk10/jdk/src/java.desktop/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} 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));
|
H A D | GridLayout.java | 313 * minus one, plus the left and right insets of the target container. 318 * plus the top and bottom insets of the target container. 328 Insets insets = parent.getInsets(); 350 return new Dimension(insets.left + insets.right + ncols*w + (ncols-1)*hgap, 351 insets.top + insets.bottom + nrows*h + (nrows-1)*vgap); 362 * plus the left and right insets of the target container. 367 * the top and bottom insets of the target container. 377 Insets insets [all...] |
/openjdk10/jdk/src/java.desktop/macosx/classes/com/apple/laf/ |
H A D | AquaTextFieldUI.java | 148 Insets insets = c.getInsets(); 150 if (insets == null) insets = new Insets(0, 0, 0, 0); 152 insets.top -= margin.top; 153 insets.left -= margin.left; 154 insets.bottom -= margin.bottom; 155 insets.right -= margin.right; 160 g.fillRect(insets.left - 2, insets.top - shrinkage - 1, 161 width - insets [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/ |
H A D | CenterLayout.java | 46 Insets insets = container.getInsets(); 48 return new Dimension(size.width + insets.left + insets.right, 49 size.height + insets.top + insets.bottom);
|
H A D | BasicBorders.java | 259 public Insets getBorderInsets(Component c, Insets insets) { argument 267 insets.left = left; 268 insets.top = top; 269 insets.right = right; 270 insets.bottom = bottom; 273 insets.left = margin.left; 274 insets.top = margin.top; 275 insets.right = margin.right; 276 insets.bottom = margin.bottom; 278 return insets; 340 getBorderInsets(Component c, Insets insets) argument 375 getBorderInsets(Component c, Insets insets) argument 423 getBorderInsets(Component c, Insets insets) argument 465 getBorderInsets(Component c, Insets insets) argument 476 getBorderInsets(Component c, Insets insets) argument 547 getBorderInsets(Component c, Insets insets) argument [all...] |