Enum Constant and Description |
---|
SPELL_COST
Display the spell cost (mana/grace).
|
SPELL_DESCRIPTION
Display the spell description.
|
SPELL_ICON
Display the spell icon.
|
SPELL_LEVEL
Display the spell level.
|
SPELL_NAME
Display the spell name.
|
Modifier and Type | Method and Description |
---|---|
static Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type SPELL_COST
public static final Type SPELL_DESCRIPTION
public static final Type SPELL_ICON
public static final Type SPELL_LEVEL
public static final Type SPELL_NAME
public static Type 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 static Type[] values()
for (Type c : Type.values()) System.out.println(c);