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
HeaderStyles.- Version:
- $Revision: 1.9 $
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BorderStylestatic final BorderStyleprivate final Stringstatic final BorderStyle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BorderStyleLooks up the client property for the header style from the JMenuBar.static BorderStyleLooks up the client property for the header style from the JToolBar.private static BorderStylefrom0(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
-