Package com.jgoodies.looks
Class BorderStyle
java.lang.Object
com.jgoodies.looks.BorderStyle
Describes the border styles for JMenuBar and JToolBar. Border styles are
look-dependent and shadow look-independent
HeaderStyle
s.- Version:
- $Revision: 1.9 $
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BorderStyle
static final BorderStyle
private final String
static final BorderStyle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BorderStyle
Looks up the client property for the header style from the JMenuBar.static BorderStyle
Looks up the client property for the header style from the JToolBar.private static BorderStyle
from0
(JComponent c, String clientPropertyKey) Looks up the client property for the header style from the specified JComponent.toString()
private static BorderStyle
-
Field Details
-
EMPTY
-
SEPARATOR
-
ETCHED
-
name
-
-
Constructor Details
-
BorderStyle
-
-
Method Details
-
from
Looks up the client property for the header style from the JToolBar.- Parameters:
toolBar
- the tool bar to inspectclientPropertyKey
- the key used to lookup the property- Returns:
- the border style used to choose a border in the UI delegate
-
from
Looks up the client property for the header style from the JMenuBar.- Parameters:
menuBar
- the menu bar to inspectclientPropertyKey
- the key used to lookup the property- Returns:
- the border style used to choose a border in the UI delegate
-
from0
Looks up the client property for the header style from the specified JComponent.- Parameters:
c
- the compoent to inspectclientPropertyKey
- the key used to lookup the property- Returns:
- the border style used to choose a border in the UI delegate
-
valueOf
-
toString
-