final class PlasticBorders
extends java.lang.Object
Borders used
by the JGoodies Plastic Look and Feel UI delegates.| Modifier and Type | Class and Description |
|---|---|
private static class |
PlasticBorders.ButtonBorder |
private static class |
PlasticBorders.ComboBoxArrowButtonBorder |
private static class |
PlasticBorders.ComboBoxEditorBorder |
private static class |
PlasticBorders.EtchedBorder
A border used for menu bars and tool bars in
HeaderStyle.SINGLE. |
private static class |
PlasticBorders.Flush3DBorder |
private static class |
PlasticBorders.InternalFrameBorder
A border used for
JInternalFrames. |
private static class |
PlasticBorders.MenuBarHeaderBorder
A border used for menu bars in
HeaderStyle.BOTH. |
private static class |
PlasticBorders.MenuBorder |
private static class |
PlasticBorders.NoMarginPopupMenuBorder |
private static class |
PlasticBorders.PaletteBorder
A border used for the palette of
JInternalFrames. |
private static class |
PlasticBorders.PopupMenuBorder |
private static class |
PlasticBorders.RolloverButtonBorder |
(package private) static class |
PlasticBorders.RolloverMarginBorder
A border which is like a Margin border but it will only honor the margin
if the margin has been explicitly set by the developer.
|
private static class |
PlasticBorders.ScrollPaneBorder
Unlike Metal we don't paint the (misplaced) control color edges.
|
private static class |
PlasticBorders.SeparatorBorder
A border that looks like a separator line; used for menu bars
and tool bars.
|
private static class |
PlasticBorders.TextFieldBorder |
private static class |
PlasticBorders.ThinLoweredBorder |
private static class |
PlasticBorders.ThinRaisedBorder |
private static class |
PlasticBorders.ToggleButtonBorder |
private static class |
PlasticBorders.ToolBarHeaderBorder
A border used for tool bars in
HeaderStyle.BOTH. |
| Modifier and Type | Field and Description |
|---|---|
private static javax.swing.border.Border |
comboBoxArrowButtonBorder |
private static javax.swing.border.Border |
comboBoxEditorBorder |
private static javax.swing.border.Border |
etchedBorder |
private static javax.swing.border.Border |
flush3DBorder |
private static javax.swing.border.Border |
menuBarHeaderBorder |
private static javax.swing.border.Border |
menuBorder |
private static javax.swing.border.Border |
menuItemBorder |
private static javax.swing.border.Border |
noMarginPopupMenuBorder |
private static javax.swing.border.Border |
popupMenuBorder |
private static javax.swing.border.Border |
rolloverButtonBorder |
private static javax.swing.border.Border |
scrollPaneBorder |
private static javax.swing.border.Border |
separatorBorder |
private static javax.swing.border.Border |
textFieldBorder |
private static javax.swing.border.Border |
thinLoweredBorder |
private static javax.swing.border.Border |
thinRaisedBorder |
private static javax.swing.border.Border |
toolBarHeaderBorder |
| Modifier | Constructor and Description |
|---|---|
private |
PlasticBorders() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static javax.swing.border.Border |
getButtonBorder(java.awt.Insets buttonMargin)
Returns a border instance for a
JButton. |
(package private) static javax.swing.border.Border |
getComboBoxArrowButtonBorder()
Returns a border for a
JComboBox's button. |
(package private) static javax.swing.border.Border |
getComboBoxEditorBorder()
Returns a border for a
JComboBox's editor. |
(package private) static javax.swing.border.Border |
getEtchedBorder()
Returns an etched border instance for
JMenuBar or
JToolBar. |
(package private) static javax.swing.border.Border |
getFlush3DBorder()
Returns a flushed 3D border.
|
(package private) static javax.swing.border.Border |
getInternalFrameBorder()
Returns a border for a
JInternalFrame. |
(package private) static javax.swing.border.Border |
getMenuBarHeaderBorder()
Returns a special border for a
JMenuBar that
is used in a header just above a JToolBar. |
(package private) static javax.swing.border.Border |
getMenuBorder()
Returns a border instance for a
JMenu. |
(package private) static javax.swing.border.Border |
getMenuItemBorder()
Returns a border instance for a
JMenuItem. |
(package private) static javax.swing.border.Border |
getNoMarginPopupMenuBorder()
Returns a border instance for a
JPopupMenu that
has no (extra) margin. |
(package private) static javax.swing.border.Border |
getPaletteBorder()
Returns a border for a
JInternalFrame's palette. |
(package private) static javax.swing.border.Border |
getPopupMenuBorder()
Returns a border instance for a
JPopupMenu. |
(package private) static javax.swing.border.Border |
getRolloverButtonBorder()
Returns a rollover border for buttons in a
JToolBar. |
(package private) static javax.swing.border.Border |
getScrollPaneBorder()
Returns a separator border instance for
JScrollPane. |
(package private) static javax.swing.border.Border |
getSeparatorBorder()
Returns a separator border instance for
JMenuBar or
JToolBar. |
(package private) static javax.swing.border.Border |
getTextFieldBorder()
Returns a border instance for a JTextField.
|
(package private) static javax.swing.border.Border |
getThinLoweredBorder()
Returns a thin lowered border.
|
(package private) static javax.swing.border.Border |
getThinRaisedBorder()
Returns a thin raised border.
|
(package private) static javax.swing.border.Border |
getToggleButtonBorder(java.awt.Insets buttonMargin)
Returns a border instance for a JToggleButton.
|
(package private) static javax.swing.border.Border |
getToolBarHeaderBorder()
Returns a special border for a
JToolBar that
is used in a header just below a JMenuBar. |
private static javax.swing.border.Border comboBoxEditorBorder
private static javax.swing.border.Border comboBoxArrowButtonBorder
private static javax.swing.border.Border etchedBorder
private static javax.swing.border.Border flush3DBorder
private static javax.swing.border.Border menuBarHeaderBorder
private static javax.swing.border.Border menuBorder
private static javax.swing.border.Border menuItemBorder
private static javax.swing.border.Border popupMenuBorder
private static javax.swing.border.Border noMarginPopupMenuBorder
private static javax.swing.border.Border rolloverButtonBorder
private static javax.swing.border.Border scrollPaneBorder
private static javax.swing.border.Border separatorBorder
private static javax.swing.border.Border textFieldBorder
private static javax.swing.border.Border thinLoweredBorder
private static javax.swing.border.Border thinRaisedBorder
private static javax.swing.border.Border toolBarHeaderBorder
static javax.swing.border.Border getButtonBorder(java.awt.Insets buttonMargin)
JButton.static javax.swing.border.Border getComboBoxArrowButtonBorder()
JComboBox's button.static javax.swing.border.Border getComboBoxEditorBorder()
JComboBox's editor.static javax.swing.border.Border getEtchedBorder()
JMenuBar or
JToolBar.static javax.swing.border.Border getFlush3DBorder()
static javax.swing.border.Border getInternalFrameBorder()
JInternalFrame.static javax.swing.border.Border getMenuBarHeaderBorder()
JMenuBar that
is used in a header just above a JToolBar.static javax.swing.border.Border getMenuBorder()
JMenu.static javax.swing.border.Border getMenuItemBorder()
JMenuItem.static javax.swing.border.Border getPopupMenuBorder()
JPopupMenu.static javax.swing.border.Border getNoMarginPopupMenuBorder()
JPopupMenu that
has no (extra) margin.static javax.swing.border.Border getPaletteBorder()
JInternalFrame's palette.static javax.swing.border.Border getRolloverButtonBorder()
JToolBar.static javax.swing.border.Border getScrollPaneBorder()
JScrollPane.static javax.swing.border.Border getSeparatorBorder()
JMenuBar or
JToolBar.static javax.swing.border.Border getTextFieldBorder()
static javax.swing.border.Border getThinLoweredBorder()
static javax.swing.border.Border getThinRaisedBorder()
static javax.swing.border.Border getToggleButtonBorder(java.awt.Insets buttonMargin)
static javax.swing.border.Border getToolBarHeaderBorder()
JToolBar that
is used in a header just below a JMenuBar.