public static enum AnimatePacket.SwingSource extends java.lang.Enum<AnimatePacket.SwingSource>
| Enum Constant and Description |
|---|
ATTACK |
BUILD |
DROP_ITEM |
EVENT |
INTERACT |
MINE |
NONE |
THROW_ITEM |
USE_ITEM |
| Modifier and Type | Method and Description |
|---|---|
static AnimatePacket.SwingSource |
from(java.lang.String name) |
java.lang.String |
getName() |
static AnimatePacket.SwingSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnimatePacket.SwingSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnimatePacket.SwingSource NONE
public static final AnimatePacket.SwingSource BUILD
public static final AnimatePacket.SwingSource MINE
public static final AnimatePacket.SwingSource INTERACT
public static final AnimatePacket.SwingSource ATTACK
public static final AnimatePacket.SwingSource USE_ITEM
public static final AnimatePacket.SwingSource THROW_ITEM
public static final AnimatePacket.SwingSource DROP_ITEM
public static final AnimatePacket.SwingSource EVENT
public static AnimatePacket.SwingSource[] values()
for (AnimatePacket.SwingSource c : AnimatePacket.SwingSource.values()) System.out.println(c);
public static AnimatePacket.SwingSource 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 AnimatePacket.SwingSource from(java.lang.String name)
public java.lang.String getName()