public static enum ListSpinner.CycleDirection extends java.lang.Enum<ListSpinner.CycleDirection>
Enum Constant and Description |
---|
BOTTOM_TO_TOP |
TOP_TO_BOTTOM |
Modifier and Type | Method and Description |
---|---|
static ListSpinner.CycleDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ListSpinner.CycleDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListSpinner.CycleDirection TOP_TO_BOTTOM
public static final ListSpinner.CycleDirection BOTTOM_TO_TOP
public static ListSpinner.CycleDirection[] values()
for (ListSpinner.CycleDirection c : ListSpinner.CycleDirection.values()) System.out.println(c);
public static ListSpinner.CycleDirection 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