public static enum ScrollBoxLayout.ScrollBarPolicy extends java.lang.Enum<ScrollBoxLayout.ScrollBarPolicy>
Enum Constant and Description |
---|
BOTH |
HORIZONTAL |
NONE |
VERTICAL |
Modifier and Type | Method and Description |
---|---|
static ScrollBoxLayout.ScrollBarPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScrollBoxLayout.ScrollBarPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScrollBoxLayout.ScrollBarPolicy VERTICAL
public static final ScrollBoxLayout.ScrollBarPolicy HORIZONTAL
public static final ScrollBoxLayout.ScrollBarPolicy BOTH
public static final ScrollBoxLayout.ScrollBarPolicy NONE
public static ScrollBoxLayout.ScrollBarPolicy[] values()
for (ScrollBoxLayout.ScrollBarPolicy c : ScrollBoxLayout.ScrollBarPolicy.values()) System.out.println(c);
public static ScrollBoxLayout.ScrollBarPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null