public enum ControlType extends java.lang.Enum<ControlType>
| Modifier and Type | Method and Description |
|---|---|
static ControlType |
getControlType(int val)
Obtain the enum from the value.
|
static ControlType |
getControlTypeFromOrdinal(int val)
Obtain the enum from the ordinal value.
|
static java.lang.String |
getName(int val)
Obtain the name from the value.
|
int |
getOrdinalValue()
Get the ordinal value of this enum.
|
int |
getValue()
Get the integer value of this enum.
|
static boolean |
isControl(int value)
Is this a control tag of any sort?
|
boolean |
isEnd()
Is this an "end" control tag?
|
static boolean |
isEnd(int value)
Is this an "end" control tag?
|
boolean |
isGo()
Is this a "go" control tag?
|
static boolean |
isGo(int value)
Is this a "go" control tag?
|
boolean |
isPause()
Is this a "pause" control tag?
|
static boolean |
isPause(int value)
Is this a "pause" control tag?
|
boolean |
isPrestart()
Is this a "prestart" control tag?
|
static boolean |
isPrestart(int value)
Is this a "prestart" control tag?
|
boolean |
isSync()
Is this a sync control tag?
|
static boolean |
isSync(int value)
Is this an "sync" control tag?
|
static ControlType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ControlType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlType SYNC
public static final ControlType PRESTART
public static final ControlType GO
public static final ControlType PAUSE
public static final ControlType END
public static ControlType[] values()
for (ControlType c : ControlType.values()) System.out.println(c);
public static ControlType 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 ControlType getControlType(int val)
val - the value to match.null.public static ControlType getControlTypeFromOrdinal(int val)
val - the ordinal value to match.null.public static java.lang.String getName(int val)
val - the value to match.null.public int getValue()
public int getOrdinalValue()
public static boolean isControl(int value)
value - the tag value to checktrue if control tag or any sort, else falsepublic boolean isPrestart()
true if prestart control tag, else falsepublic static boolean isPrestart(int value)
value - the tag value to checktrue if prestart control tag, else falsepublic boolean isGo()
true if go control tag, else falsepublic static boolean isGo(int value)
value - the tag value to checktrue if go control tag, else falsepublic boolean isPause()
true if pause control tag, else falsepublic static boolean isPause(int value)
value - the tag value to checktrue if pause control tag, else falsepublic boolean isEnd()
true if end control tag, else falsepublic static boolean isEnd(int value)
value - the tag value to checktrue if end control tag, else falsepublic boolean isSync()
true if sync control tag, else falsepublic static boolean isSync(int value)
value - the tag value to checktrue if end control tag, else false