public class BasicBorders extends Object
Modifier and Type | Class and 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 and Description |
---|
BasicBorders() |
Modifier and Type | Method and 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
.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
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, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait