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