public class BasicBorders extends Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
BasicBorders.ButtonBorder |
Draws a border around a button.
|
static class |
BasicBorders.FieldBorder |
Draws the border around a field.
|
static class |
BasicBorders.MarginBorder |
Draws the border around components which support margins.
|
static class |
BasicBorders.MenuBarBorder |
Draws the border around a menu bar.
|
static class |
BasicBorders.RadioButtonBorder |
Draws the border around a radio button.
|
static class |
BasicBorders.RolloverButtonBorder |
Special thin border for rollover toolbar buttons.
|
static class |
BasicBorders.SplitPaneBorder |
Draws the border around the splitpane.
|
static class |
BasicBorders.ToggleButtonBorder |
Draws the border around a toggle button.
|
| Constructor | Description |
|---|---|
BasicBorders() |
| Modifier and Type | Method | Description |
|---|---|---|
static Border |
getButtonBorder() |
Returns a border instance for a
JButton. |
static Border |
getInternalFrameBorder() |
Returns a border instance for a
JInternalFrame. |
static Border |
getMenuBarBorder() |
Returns a border instance for a
JMenuBar. |
static Border |
getProgressBarBorder() |
Returns a border instance for a
JProgressBar. |
static Border |
getRadioButtonBorder() |
Returns a border instance for a
JRadioButton. |
static Border |
getSplitPaneBorder() |
Returns a border instance for a
JSplitPane. |
static Border |
getSplitPaneDividerBorder() |
Returns a border instance for a
JSplitPane divider. |
static Border |
getTextFieldBorder() |
Returns a border instance for a
JTextField. |
static Border |
getToggleButtonBorder() |
Returns a border instance for a
JToggleButton. |
public static Border getButtonBorder()
JButton.JButtonpublic static Border getRadioButtonBorder()
JRadioButton.JRadioButtonpublic static Border getToggleButtonBorder()
JToggleButton.JToggleButtonpublic static Border getMenuBarBorder()
JMenuBar.JMenuBarpublic static Border getSplitPaneBorder()
JSplitPane.JSplitPanepublic static Border getSplitPaneDividerBorder()
JSplitPane divider.JSplitPane dividerpublic static Border getTextFieldBorder()
JTextField.JTextFieldpublic static Border getProgressBarBorder()
JProgressBar.JProgressBarpublic static Border getInternalFrameBorder()
JInternalFrame.JInternalFrame Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b155-1