public enum BorderStyle extends Enum<BorderStyle>
HeaderStyle
s.HeaderStyle
Modifier and Type | Method and Description |
---|---|
static BorderStyle |
from(JMenuBar menuBar,
String clientPropertyKey)
Looks up the client property for the header style from the JMenuBar.
|
static BorderStyle |
from(JToolBar toolBar,
String clientPropertyKey)
Looks up the client property for the header style from the JToolBar.
|
static BorderStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BorderStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BorderStyle EMPTY
public static final BorderStyle SEPARATOR
public static final BorderStyle ETCHED
public static BorderStyle[] values()
for (BorderStyle c : BorderStyle.values()) System.out.println(c);
public static BorderStyle 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 BorderStyle from(JToolBar toolBar, String clientPropertyKey)
toolBar
- the tool bar to inspectclientPropertyKey
- the key used to lookup the propertypublic static BorderStyle from(JMenuBar menuBar, String clientPropertyKey)
menuBar
- the menu bar to inspectclientPropertyKey
- the key used to lookup the propertyCopyright © 2001-2015 JGoodies Software GmbH. All Rights Reserved.