js.dev.cam.sbig
Enum CFW_COMMAND
java.lang.Object
java.lang.Enum<CFW_COMMAND>
js.dev.cam.sbig.CFW_COMMAND
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<CFW_COMMAND>
public enum CFW_COMMAND
- extends java.lang.Enum<CFW_COMMAND>
Method Summary |
static CFW_COMMAND |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CFW_COMMAND[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
CFWC_QUERY
public static final CFW_COMMAND CFWC_QUERY
CFWC_GOTO
public static final CFW_COMMAND CFWC_GOTO
CFWC_INIT
public static final CFW_COMMAND CFWC_INIT
CFWC_GET_INFO
public static final CFW_COMMAND CFWC_GET_INFO
CFWC_OPEN_DEVICE
public static final CFW_COMMAND CFWC_OPEN_DEVICE
CFWC_CLOSE_DEVICE
public static final CFW_COMMAND CFWC_CLOSE_DEVICE
values
public static CFW_COMMAND[] 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 (CFW_COMMAND c : CFW_COMMAND.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CFW_COMMAND 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