/openjdk7/jdk/test/javax/swing/border/ |
H A D | Test4247606.java | 39 import javax.swing.border.Border; 40 import javax.swing.border.TitledBorder; 47 TitledBorder border = new TitledBorder("Bordered Pane"); // NON-NLS: the panel title 48 border.setTitlePosition(TitledBorder.BELOW_BOTTOM); 50 JPanel panel = create(button, border); 56 private static JPanel create(JComponent component, Border border) { argument 58 panel.setBorder(border);
|
H A D | Test6910490.java | 34 import javax.swing.border.MatteBorder; 39 * @summary Tests a matte border around a component inside a scroll pane. 58 private JScrollPane create(String name, Dimension size, MatteBorder border) { argument 61 button.setBorder(border);
|
H A D | Test4856008.java | 27 * @summary Tests border insets 45 import javax.swing.border.AbstractBorder; 46 import javax.swing.border.BevelBorder; 47 import javax.swing.border.Border; 48 import javax.swing.border.CompoundBorder; 49 import javax.swing.border.EmptyBorder; 50 import javax.swing.border.EtchedBorder; 51 import javax.swing.border.LineBorder; 52 import javax.swing.border.MatteBorder; 53 import javax.swing.border 153 test(AbstractBorder border) argument 161 test(Border border, Insets insets) argument 171 getComponent(Border border) argument [all...] |
/openjdk7/jdk/test/javax/swing/plaf/metal/MetalBorders/ |
H A D | Test6657026.java | 32 import javax.swing.border.Border; 75 private static void test(Border border) { argument 76 Insets actual = border.getBorderInsets(null); 78 throw new Error("unexpected insets in " + border.getClass()); 87 if (!expected.equals(border.getBorderInsets(null))) { 88 throw new Error("shared insets in " + border.getClass());
|
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | Border.java | 25 package javax.swing.border; 33 * Interface describing an object capable of rendering a border 36 * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/border.html">How to Use Borders</a>, 45 * <li>Use EmptyBorder to create a plain border (this mechanism 47 * <li>Use CompoundBorder to nest multiple border objects, creating 48 * a single, combined border. 50 * a new border object using one of border classes, use the 52 * common border types. 53 * <li>Additional border style [all...] |
H A D | AbstractBorder.java | 25 package javax.swing.border; 34 * A class that implements an empty border with no size. 35 * This provides a convenient base class from which other border 53 * @param c the component for which this border is being painted 55 * @param x the x position of the painted border 56 * @param y the y position of the painted border 57 * @param width the width of the painted border 58 * @param height the height of the painted border 70 * @param c the component for which this border insets value applies 79 * @param c the component for which this border inset [all...] |
H A D | CompoundBorder.java | 25 package javax.swing.border; 34 * into a single border by nesting an inside Border object within 38 * to a component with an existing decorative border: 41 * Border border = comp.getBorder(); 43 * comp.setBorder(new CompoundBorder(border, margin)); 62 * Creates a compound border with null outside and inside borders. 70 * Creates a compound border with the specified outside and 71 * inside borders. Either border may be null. 72 * @param outsideBorder the outside border 73 * @param insideBorder the inside border t [all...] |
H A D | EmptyBorder.java | 25 package javax.swing.border; 35 * A class which provides an empty, transparent border which 54 * Creates an empty border with the specified insets. 55 * @param top the top inset of the border 56 * @param left the left inset of the border 57 * @param bottom the bottom inset of the border 58 * @param right the right inset of the border 68 * Creates an empty border with the specified insets. 69 * @param borderInsets the insets of the border 87 * @param c the component for which this border inset [all...] |
H A D | StrokeBorder.java | 25 package javax.swing.border; 38 * A class which implements a border of an arbitrary stroke. 58 * Creates a border of the specified {@code stroke}. 59 * The component's foreground color will be used to render the border. 70 * Creates a border of the specified {@code stroke} and {@code paint}. 72 * the component's foreground color will be used to render the border. 82 throw new NullPointerException("border's stroke"); 89 * Paints the border for the specified component 91 * If the border was not specified with a {@link Paint} object, 92 * the component's foreground color will be used to render the border [all...] |
H A D | EtchedBorder.java | 25 package javax.swing.border; 35 * A class which implements a simple etched border which can 37 * colors are initialized when the border is created, then 66 * Creates a lowered etched border whose colors will be derived 75 * Creates an etched border with the specified etch-type 79 * @param etchType the type of etch to be drawn by the border 86 * Creates a lowered etched border with the specified highlight and 96 * Creates an etched border with the specified etch-type, 98 * @param etchType the type of etch to be drawn by the border 110 * Paints the border fo [all...] |
H A D | LineBorder.java | 25 package javax.swing.border; 39 * A class which implements a line border of arbitrary thickness 81 * Creates a line border with the specified color and a 83 * @param color the color for the border 90 * Creates a line border with the specified color and thickness. 91 * @param color the color of the border 92 * @param thickness the thickness of the border 99 * Creates a line border with the specified color, thickness, 101 * @param color the color of the border 102 * @param thickness the thickness of the border [all...] |
H A D | MatteBorder.java | 25 package javax.swing.border; 35 * A class which provides a matte-like border of either a solid color 55 * Creates a matte border with the specified insets and color. 56 * @param top the top inset of the border 57 * @param left the left inset of the border 58 * @param bottom the bottom inset of the border 59 * @param right the right inset of the border 60 * @param matteColor the color rendered for the border 68 * Creates a matte border with the specified insets and color. 69 * @param borderInsets the insets of the border [all...] |
H A D | SoftBevelBorder.java | 25 package javax.swing.border; 54 * Creates a bevel border with the specified type and whose 57 * @param bevelType the type of bevel for the border 64 * Creates a bevel border with the specified type, highlight and 66 * @param bevelType the type of bevel for the border 75 * Creates a bevel border with the specified type, highlight 77 * @param bevelType the type of bevel for the border 92 * Paints the border for the specified component with the specified 94 * @param c the component for which this border is being painted 96 * @param x the x position of the painted border [all...] |
H A D | TitledBorder.java | 25 package javax.swing.border; 43 * A class which implements an arbitrary border 47 * If the border, font, or color property values are not 53 * <li>"TitledBorder.border" 73 protected Border border; field in class:TitledBorder 85 /** Position the title above the border's top line. */ 87 /** Position the title in the middle of the border's top line. */ 89 /** Position the title below the border's top line. */ 91 /** Position the title above the border's bottom line. */ 93 /** Position the title in the middle of the border' 143 TitledBorder(Border border) argument 154 TitledBorder(Border border, String title) argument 167 TitledBorder(Border border, String title, int titleJustification, int titlePosition) argument 185 TitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont) argument 207 TitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor) argument 469 setBorder(Border border) argument 719 getBorderInsets(Border border, Component c, Insets insets) argument [all...] |
H A D | BevelBorder.java | 25 package javax.swing.border; 34 * A class which implements a simple two-line bevel border. 61 * Creates a bevel border with the specified type and whose 64 * @param bevelType the type of bevel for the border 71 * Creates a bevel border with the specified type, highlight and 73 * @param bevelType the type of bevel for the border 82 * Creates a bevel border with the specified type, highlight and 85 * @param bevelType the type of bevel for the border 103 * Paints the border for the specified component with the specified 105 * @param c the component for which this border i [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifPopupMenuUI.java | 31 import javax.swing.border.*; 63 private static Border border = null; field in class:MotifPopupMenuUI 94 if (border != null) { 95 i = border.getBorderInsets(c);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthTableHeaderUI.java | 31 import javax.swing.border.*; 271 public void setBorder(Border border) { argument 272 if (border instanceof SynthBorder) { 273 super.setBorder(border);
|
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/ |
H A D | UIDefault.java | 79 @XmlElement private Border border; field in class:UIProperty 121 prefix, getName(), border.write());
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaButtonExtendedTypes.java | 32 import javax.swing.border.Border; 50 final Border border = specifier.getBorder(); 51 if (!(border instanceof AquaBorder)) return border; 53 return ((AquaBorder)border).deriveBorderForSize(AquaUtilControlSize.getUserSizeFrom(c)); 76 final AquaBorder border; field in class:AquaButtonExtendedTypes.BorderDefinedTypeSpecifier 84 border = initBorder(widget, new SizeDescriptor(variant) { 94 patchUp(border.sizeDescriptor); 97 Border getBorder() { return border; } 112 border [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | BorderFactory.java | 31 import javax.swing.border.*; 38 * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/border.html">How 54 * Creates a line border withe the specified color. 64 * Creates a line border with the specified color 66 * border. To specify widths individually for the top, 79 * Creates a line border with the specified color, thickness, and corner shape. 81 * @param color the color of the border 82 * @param thickness the thickness of the border 83 * @param rounded whether or not border corners should be round 99 * Creates a border wit 397 createTitledBorder(Border border) argument 411 createTitledBorder(Border border, String title) argument 446 createTitledBorder(Border border, String title, int titleJustification, int titlePosition) argument 485 createTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont) argument 525 createTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/ |
H A D | BorderUIResource.java | 36 import javax.swing.border.*; 43 * classes which set border properties should use this class 100 * Creates a UIResource border object which wraps 102 * @param delegate the border being wrapped 106 throw new IllegalArgumentException("null border delegate argument"); 217 public TitledBorderUIResource(Border border) { argument 218 super(border); 221 public TitledBorderUIResource(Border border, String title) { argument 222 super(border, title); 225 public TitledBorderUIResource(Border border, argument 232 TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont) argument 241 TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor) argument [all...] |
/openjdk7/jaxp/src/org/w3c/dom/html/ |
H A D | HTMLImageElement.java | 77 * Width of border around image. See the border attribute definition in 81 public void setBorder(String border); argument
|
H A D | HTMLObjectElement.java | 83 * Width of border around the object. See the border attribute definition 87 public void setBorder(String border); argument
|
H A D | HTMLTableElement.java | 105 * The width of the border around the table. See the border attribute 109 public void setBorder(String border); argument
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | BorderedComponent.java | 32 import javax.swing.border.*; 71 // Only add border if text is not null 73 TitledBorder border; 83 border = new LabeledBorder(borderLabel); 84 textLabel.setForeground(border.getTitleColor()); 106 border = new TitledBorder(text); 108 setBorder(new CompoundBorder(new FocusBorder(this), border)); 264 * A subclass of <code>TitledBorder</code> which implements an arbitrary border 268 * If the border property value is not 274 * <li>"TitledBorder.border 297 LabeledBorder(Border border) argument 308 LabeledBorder(Border border, JComponent label) argument [all...] |