java.lang.Object
javax.swing.plaf.basic.BasicBorders
Factory object that can vend Borders appropriate for the basic L & F.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Draws a border around a button.static class
Draws the border around a field.static class
Draws the border around components which support margins.static class
Draws the border around a menu bar.static class
Draws the border around a radio button.static class
Special thin border for rollover toolbar buttons.static class
Draws the border around the splitpane.static class
Draws the border around a toggle button. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Border
Returns a border instance for aJButton
.static Border
Returns a border instance for aJInternalFrame
.static Border
Returns a border instance for aJMenuBar
.static Border
Returns a border instance for aJProgressBar
.static Border
Returns a border instance for aJRadioButton
.static Border
Returns a border instance for aJSplitPane
.static Border
Returns a border instance for aJSplitPane
divider.static Border
Returns a border instance for aJTextField
.static Border
Returns a border instance for aJToggleButton
.
-
Constructor Details
-
BasicBorders
public BasicBorders()Constructs aBasicBorders
.
-
-
Method Details
-
getButtonBorder
Returns a border instance for aJButton
.- Returns:
- a border instance for a
JButton
-
getRadioButtonBorder
Returns a border instance for aJRadioButton
.- Returns:
- a border instance for a
JRadioButton
-
getToggleButtonBorder
Returns a border instance for aJToggleButton
.- Returns:
- a border instance for a
JToggleButton
-
getMenuBarBorder
Returns a border instance for aJMenuBar
.- Returns:
- a border instance for a
JMenuBar
-
getSplitPaneBorder
Returns a border instance for aJSplitPane
.- Returns:
- a border instance for a
JSplitPane
-
getSplitPaneDividerBorder
Returns a border instance for aJSplitPane
divider.- Returns:
- a border instance for a
JSplitPane
divider - Since:
- 1.3
-
getTextFieldBorder
Returns a border instance for aJTextField
.- Returns:
- a border instance for a
JTextField
-
getProgressBarBorder
Returns a border instance for aJProgressBar
.- Returns:
- a border instance for a
JProgressBar
-
getInternalFrameBorder
Returns a border instance for aJInternalFrame
.- Returns:
- a border instance for a
JInternalFrame
-