Package com.jgoodies.looks
Class HeaderStyle
java.lang.Object
com.jgoodies.looks.HeaderStyle
Describes the header styles for JMenuBar and JToolBar.
Header styles are look-independent and can be shadowed by a look-dependent
BorderStyle.- Version:
- $Revision: 1.9 $
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HeaderStyleprivate final Stringstatic final HeaderStyle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HeaderStyleLooks up the client property for theHeaderStylefrom the JToolBar.static HeaderStyleLooks up the client property for theHeaderStylefrom the JToolBar.private static HeaderStylefrom0(JComponent c) Looks up the client property for theHeaderStylefrom the specified JComponent.toString()private static HeaderStyleLooks up and answers theHeaderStylewith the specified name.
-
Field Details
-
SINGLE
-
BOTH
-
name
-
-
Constructor Details
-
HeaderStyle
-
-
Method Details
-
from
Looks up the client property for theHeaderStylefrom the JToolBar.- Parameters:
menuBar- the menu bar to inspect- Returns:
- the menu bar's header style
-
from
Looks up the client property for theHeaderStylefrom the JToolBar.- Parameters:
toolBar- the tool bar to inspect- Returns:
- the tool bar's header style
-
from0
Looks up the client property for theHeaderStylefrom the specified JComponent.- Parameters:
c- the component to inspect- Returns:
- the header style for the given component
-
valueOf
Looks up and answers theHeaderStylewith the specified name.- Parameters:
name- the name of the HeaderStyle object to lookup- Returns:
- the associated HeaderStyle
-
toString
-