Searched refs:border (Results 101 - 125 of 261) sorted by relevance

1234567891011

/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalHighContrastTheme.java32 import javax.swing.border.*;
130 "ToolTip.border", blackLineBorder,
132 "TitledBorder.border", blackLineBorder,
134 "TextField.border", textBorder,
136 "PasswordField.border", textBorder,
138 "TextArea.border", textBorder,
140 "TextPane.border", textBorder,
142 "EditorPane.border", textBorder,
154 "OptionPane.errorDialog.border.background",
162 "OptionPane.questionDialog.border
[all...]
H A DMetalToolBarUI.java46 import javax.swing.border.*;
62 * JToolBars/JMenuBars that border each other.
215 * Creates a non rollover border for Toggle buttons in the toolbar.
226 // original border and then we install ours.
228 // Before calling super we get a handle to the old border, because
229 // super will install a non-UIResource border that we can't
232 Border border = b.getBorder();
234 if (border instanceof UIResource) {
H A DMetalDesktopIconUI.java31 import javax.swing.border.*;
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifScrollBarUI.java30 import javax.swing.border.*;
H A DMotifButtonUI.java31 import javax.swing.border.*;
128 // focus painting is handled by the border
H A DMotifMenuUI.java32 import javax.swing.border.*;
H A DMotifScrollPaneUI.java29 import javax.swing.border.*;
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsButtonUI.java29 import javax.swing.border.*;
262 Border border = c.getBorder();
264 if (border != null) {
265 // Note: The border may be compound, containing an outer
266 // opaque border (supplied by the application), plus an
267 // inner transparent margin border. We want to size the
270 insets = WindowsButtonUI.getOpaqueInsets(border, c);
285 * returns - b.getBorderInsets(c) if border is opaque
286 * - null if border is completely non-opaque
287 * - somewhere inbetween if border i
[all...]
H A DXPStyle.java49 import javax.swing.border.*;
265 // TODO: The classic border uses this color, but we should
271 return null; // Will cause L&F to use classic border
275 Border border = borderMap.get(skin.string);
276 if (border == null) {
281 border = new XPFillBorder(color, thickness);
283 border = new XPStatefulFillBorder(color, thickness, part, Prop.BORDERCOLOR);
289 border = new XPImageBorder(c, part);
291 border = new EmptyBorder(1, 1, 1, 1);
294 border
[all...]
H A DWindowsInternalFrameTitlePane.java31 import javax.swing.border.*;
349 Border border = frame.getBorder();
350 if (border != null) {
351 dim.width += border.getBorderInsets(frame).left +
352 border.getBorderInsets(frame).right;
353 dim.height += border.getBorderInsets(frame).bottom +
354 border.getBorderInsets(frame).top;
H A DWindowsInternalFrameUI.java31 import javax.swing.border.*;
58 frame.setBorder(UIManager.getBorder("InternalFrame.border"));
97 * @param x the x position of the painted border
98 * @param y the y position of the painted border
99 * @param width the width of the painted border
100 * @param height the height of the painted border
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTextFieldSearch.java99 final SearchFieldBorder border = getSearchTextFieldBorder();
100 c.setBorder(border);
101 c.setLayout(border.getCustomLayout());
108 ((AquaTextFieldUI)ui).setPaintingDelegate(border);
113 c.setBorder(UIManager.getBorder("TextField.border"));
292 // subclass of normal text border, because we still want all the normal text field behaviors
H A DAquaUtilControlSize.java33 import javax.swing.border.Border;
107 final Border border = c.getBorder();
108 if (!(border instanceof AquaBorder)) return;
109 final AquaBorder aquaBorder = (AquaBorder)border;
H A DAquaComboBoxUI.java33 import javax.swing.border.Border;
508 final Border border = arrowButton.getBorder();
509 if (!(border instanceof AquaButtonBorder)) return;
510 final AquaButtonBorder aquaBorder = (AquaButtonBorder)border;
544 final Border border = c.getBorder();
545 if (border != null) {
546 final Insets insets = border.getBorderInsets(c);
/openjdk7/jdk/src/share/classes/sun/swing/
H A DDefaultLayoutStyle.java31 import javax.swing.border.Border;
95 * don't paint the border, yet they have padding for a border. Look
103 * @param offset Ideal offset, not including border/margin
104 * @return offset - border/margin around the component.
120 * don't paint the border, yet they have padding for a border. Look
127 * @param offset Ideal offset, not including border/margin
128 * @return offset - border/margin around the component.
136 * If <code>c</code> is a check box or radio button, and the border i
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthProgressBarUI.java415 Insets border = progressBar.getInsets();
470 size.width += border.left + border.right;
471 size.height += border.top + border.bottom;
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJComponent.java60 import javax.swing.border.*;
128 * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/border.html">How
253 private Border border; field in class:JComponent
930 * Paints the component's border.
945 Border border = getBorder();
946 if (border != null) {
947 border.paintBorder(this, g, 0, 0, getWidth(), getHeight());
979 * paint in the insets area allocated to the border. Subclasses can
1235 * Prints the component's border. This is implemented to invoke
1237 * wish to print the border differentl
1790 setBorder(Border border) argument
[all...]
H A DJLayer.java31 import javax.swing.border.Border;
326 * A non-{@code null} border, or non-zero insets, isn't supported, to prevent the geometry
328 * subclassing of {@code LayerUI} class. To create a {@code JLayer} with a border,
329 * add it to a {@code JPanel} that has a border.
330 * <p/>Note: If {@code border} is non-{@code null}, this
334 * @param border the {@code Border} to set
337 public void setBorder(Border border) { argument
338 if (border != null) {
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/formats/html/markup/
H A DHtmlTree.java535 * Generates a Table tag with border, width and summary attributes and
538 * @param border border for the table
544 public static HtmlTree TABLE(int border, int width, String summary, argument
547 htmltree.addAttr(HtmlAttr.BORDER, Integer.toString(border));
554 * Generates a Table tag with style class, border, cell padding,
558 * @param border border for the table
565 public static HtmlTree TABLE(HtmlStyle styleClass, int border, int cellPadding, argument
570 htmltree.addAttr(HtmlAttr.BORDER, Integer.toString(border));
588 TABLE(int border, int cellPadding, int cellSpacing, String summary, Content body) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DCompoundBorder.java25 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 DLineBorder.java25 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 DSoftBevelBorder.java25 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...]
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/
H A DDefaultSwatchChooserPanel.java29 import javax.swing.border.*;
166 Border border = new CompoundBorder( new LineBorder(Color.black),
168 mainHolder.setBorder(border);
181 recentHolder.setBorder(border);
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DCommentView.java34 import javax.swing.border.*;
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ControlFlow/src/com/sun/hotspot/igv/controlflow/
H A DBlockWidget.java34 import org.netbeans.api.visual.border.BorderFactory;

Completed in 70 milliseconds

1234567891011