org.lee.mugen.core.command
Enum MugenSingleCmd.CommandType
java.lang.Object
java.lang.Enum<MugenSingleCmd.CommandType>
org.lee.mugen.core.command.MugenSingleCmd.CommandType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MugenSingleCmd.CommandType>
- Enclosing class:
- MugenSingleCmd
public static enum MugenSingleCmd.CommandType
- extends java.lang.Enum<MugenSingleCmd.CommandType>
|
Field Summary |
int |
bit
|
java.lang.String |
desc
|
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
PRESS
public static final MugenSingleCmd.CommandType PRESS
HOLD
public static final MugenSingleCmd.CommandType HOLD
RELEASED
public static final MugenSingleCmd.CommandType RELEASED
DIRECTION
public static final MugenSingleCmd.CommandType DIRECTION
SIMULTANEOUS
public static final MugenSingleCmd.CommandType SIMULTANEOUS
NO_OTHER_KEY_BEFORE
public static final MugenSingleCmd.CommandType NO_OTHER_KEY_BEFORE
desc
public final java.lang.String desc
bit
public final int bit
values
public static MugenSingleCmd.CommandType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MugenSingleCmd.CommandType c : MugenSingleCmd.CommandType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MugenSingleCmd.CommandType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null