|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TurnPageCommand.Mode> com.levigo.jadice.swing.commands.TurnPageCommand.Mode
public static enum TurnPageCommand.Mode
The navigation mode.
Enum Constant Summary | |
---|---|
FIRST
Navigate to the first page |
|
LAST
Navigate to the last page |
|
NEXT
Navigate to the next page (if there is one) |
|
PREVIOUS
Navigate to the previous page (if there is one) |
Method Summary | |
---|---|
static TurnPageCommand.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TurnPageCommand.Mode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TurnPageCommand.Mode FIRST
public static final TurnPageCommand.Mode PREVIOUS
public static final TurnPageCommand.Mode NEXT
public static final TurnPageCommand.Mode LAST
Method Detail |
---|
public static TurnPageCommand.Mode[] values()
for (TurnPageCommand.Mode c : TurnPageCommand.Mode.values()) System.out.println(c);
public static TurnPageCommand.Mode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |