public enum HeaderStyle extends Enum<HeaderStyle>
BorderStyle
.BorderStyle
Modifier and Type | Method and Description |
---|---|
static HeaderStyle |
from(JMenuBar menuBar)
Looks up the client property for the
HeaderStyle
from the JToolBar. |
static HeaderStyle |
from(JToolBar toolBar)
Looks up the client property for the
HeaderStyle
from the JToolBar. |
static HeaderStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeaderStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeaderStyle SINGLE
public static final HeaderStyle BOTH
public static HeaderStyle[] values()
for (HeaderStyle c : HeaderStyle.values()) System.out.println(c);
public static HeaderStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static HeaderStyle from(JMenuBar menuBar)
HeaderStyle
from the JToolBar.menuBar
- the menu bar to inspectpublic static HeaderStyle from(JToolBar toolBar)
HeaderStyle
from the JToolBar.toolBar
- the tool bar to inspectCopyright © 2001-2015 JGoodies Software GmbH. All Rights Reserved.