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