/openjdk7/jdk/test/javax/swing/border/ |
H A D | Test6978482.java | 45 import javax.swing.border.BevelBorder; 46 import javax.swing.border.Border; 47 import javax.swing.border.CompoundBorder; 48 import javax.swing.border.EmptyBorder; 49 import javax.swing.border.EtchedBorder; 50 import javax.swing.border.LineBorder; 51 import javax.swing.border.MatteBorder; 52 import javax.swing.border.SoftBevelBorder; 53 import javax.swing.border.TitledBorder; 67 private static final JToolBar TOOLBAR = new JToolBar(); // init non-rollover border [all...] |
H A D | Test4120351.java | 34 import javax.swing.border.EtchedBorder;
|
H A D | Test6461042.java | 28 * when a JComponent is its own border 36 import javax.swing.border.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 | Test6625450.java | 27 * @summary Tests the baseline of the titled border 32 import javax.swing.border.TitledBorder;
|
H A D | Test7034614.java | 35 import javax.swing.border.Border; 36 import javax.swing.border.TitledBorder;
|
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
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...] |
/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/macosx/classes/com/apple/laf/ |
H A D | AquaBorder.java | 31 import javax.swing.border.Border; 78 final AquaBorder border = clazz.getConstructor(new Class[] { clazz }).newInstance(new Object[] { this }); 79 border.setSize(size); 80 return border; 88 Border border = c.getBorder(); 89 if (border == null) { 94 if (borderedComponent != null) border = borderedComponent.getBorder(); 98 // If we really don't have a border, then bail 99 // It might be a compound border with a ThemeBorder inside 100 // The check for that case is tricky, so we just go ahead and repaint any border [all...] |
H A D | AquaMenuBarBorder.java | 30 import javax.swing.border.Border; 38 * Paints the border for the specified component with the specified 40 * @param c the component for which this border is being painted 42 * @param x the x position of the painted border 43 * @param y the y position of the painted border 44 * @param width the width of the painted border 45 * @param height the height of the painted border 48 // for now we don't paint a border. We let the button paint it since there 56 * Returns the insets of the border. 57 * @param c the component for which this border inset [all...] |
H A D | AquaButtonUI.java | 33 import javax.swing.border.Border; 84 final Border border = b.getBorder(); 85 if (!(border instanceof AquaBorder)) return; 97 // Set the correct border 102 Border border = b.getBorder(); 103 if (!ui.isBorderFromProperty(b) && (border == null || border instanceof UIResource || border instanceof AquaButtonBorder)) { 109 border = AquaButtonBorder.getToolBarButtonBorder(); 111 border [all...] |
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/com/sun/java/swing/plaf/motif/ |
H A D | MotifToggleButtonUI.java | 34 import javax.swing.border.*; 120 Border border = c.getBorder(); 121 Insets i = border != null? border.getBorderInsets(c) : new Insets(0,0,0,0);
|
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);
|
H A D | MotifDesktopIconUI.java | 32 import javax.swing.border.*; 83 MotifBorders.FrameBorder border = new MotifBorders.FrameBorder(desktopIcon); 85 iconButton.setBorder(border); 88 iconLabel.setBorder(border); 170 Border border = iframe.getBorder(); 171 if(border != null) { 172 w += border.getBorderInsets(iframe).left + 173 border.getBorderInsets(iframe).right; 174 h += border.getBorderInsets(iframe).bottom + 175 border [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsToolBarUI.java | 36 import javax.swing.border.Border; 37 import javax.swing.border.CompoundBorder; 38 import javax.swing.border.EmptyBorder;
|
/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...] |
/openjdk7/jdk/src/share/demo/jfc/Metalworks/ |
H A D | ContrastMetalTheme.java | 43 import javax.swing.border.Border; 44 import javax.swing.border.CompoundBorder; 45 import javax.swing.border.LineBorder; 156 table.put("ToolTip.border", blackLineBorder); 157 table.put("TitledBorder.border", blackLineBorder); 161 table.put("TextField.border", textBorder); 162 table.put("PasswordField.border", textBorder); 163 table.put("TextArea.border", textBorder);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicTextPaneUI.java | 33 import javax.swing.border.*;
|
H A D | BasicDesktopIconUI.java | 32 import javax.swing.border.*; 136 LookAndFeel.installBorder(desktopIcon, "DesktopIcon.border"); 154 Border border = frame.getBorder(); 156 if (border != null) { 157 dim.height += border.getBorderInsets(frame).bottom + 158 border.getBorderInsets(frame).top; 175 Border border = iframe.getBorder(); 176 if(border != null) 177 return border.getBorderInsets(iframe);
|
/openjdk7/jdk/test/com/sun/java/swing/plaf/gtk/ |
H A D | Test6963870.java | 35 import javax.swing.border.Border;
|
/openjdk7/jdk/test/javax/swing/DataTransfer/6456844/ |
H A D | bug6456844.java | 33 import javax.swing.border.EmptyBorder;
|
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/ |
H A D | stylesheet.css | 142 border-bottom:1px solid #9eadc0; 180 border:1px solid #c9aa44; 220 border-top:1px solid #9eadc0; 221 border-bottom:1px solid #9eadc0; 227 border-top:1px solid #9eadc0; 228 border-bottom:1px solid #9eadc0; 313 border:1px solid #9eadc0; 319 border:1px solid #9eadc0; 320 border-top:none; 326 border [all...] |
/openjdk7/jdk/src/share/demo/applets/Fractal/ |
H A D | CLSFractal.java | 78 int border; field in class:CLSFractal 106 s = getParameter("border"); 108 border = Integer.parseInt(s); 195 for (int i = 0; i < border; i++) { 221 float xscale = (getSize().width - border * 2 - 1) / frwidth; 222 float yscale = (getSize().height - border * 2 - 1) / frheight; 223 int xoff = border; 224 int yoff = border; 227 yoff += ((getSize().height - border * 2) 231 xoff += ((getSize().width - border * [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalScrollPaneUI.java | 30 import javax.swing.border.*; 108 * If the border of the scrollpane is an instance of 117 Border border = scrollpane.getBorder(); 120 if (border instanceof MetalBorders.ScrollPaneBorder) { 156 else if ("border".equals(propertyName)) {
|