Enum Constant and Description |
---|
Binder |
Deck |
Disenchanter |
Duel |
Modifier and Type | Method and Description |
---|---|
static EnumGui |
fromIndex(int index) |
int |
getIndex() |
static EnumGui |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumGui[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumGui Deck
public static final EnumGui Duel
public static final EnumGui Binder
public static final EnumGui Disenchanter
public static EnumGui[] values()
for (EnumGui c : EnumGui.values()) System.out.println(c);
public static EnumGui 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 nullpublic int getIndex()
public static EnumGui fromIndex(int index)