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() |
Constructs a 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 BasicBorders()
BasicBorders
.public static Border getButtonBorder()
JButton
.JButton
public static Border getRadioButtonBorder()
JRadioButton
.JRadioButton
public static Border getToggleButtonBorder()
JToggleButton
.JToggleButton
public static Border getMenuBarBorder()
JMenuBar
.JMenuBar
public static Border getSplitPaneBorder()
JSplitPane
.JSplitPane
public static Border getSplitPaneDividerBorder()
JSplitPane
divider.JSplitPane
dividerpublic static Border getTextFieldBorder()
JTextField
.JTextField
public static Border getProgressBarBorder()
JProgressBar
.JProgressBar
public static Border getInternalFrameBorder()
JInternalFrame
.JInternalFrame
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/plaf/basic/BasicBorders.html