public static enum CapabilityMotorControl.CommandId extends java.lang.Enum<CapabilityMotorControl.CommandId> implements Capability.CommandId
CapabilityMotorControl
.Enum Constant and Description |
---|
CLEAR_PRESET |
GO_TO_PRESET |
PAN |
SET_PRESET |
START_TRACK |
STOP_TRACK |
TILT |
Modifier and Type | Method and Description |
---|---|
static CapabilityMotorControl.CommandId |
getEnum(int index) |
int |
getInt() |
static CapabilityMotorControl.CommandId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CapabilityMotorControl.CommandId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CapabilityMotorControl.CommandId PAN
public static final CapabilityMotorControl.CommandId TILT
public static final CapabilityMotorControl.CommandId SET_PRESET
public static final CapabilityMotorControl.CommandId CLEAR_PRESET
public static final CapabilityMotorControl.CommandId GO_TO_PRESET
public static final CapabilityMotorControl.CommandId START_TRACK
public static final CapabilityMotorControl.CommandId STOP_TRACK
public static CapabilityMotorControl.CommandId[] values()
for (CapabilityMotorControl.CommandId c : CapabilityMotorControl.CommandId.values()) System.out.println(c);
public static CapabilityMotorControl.CommandId 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 CapabilityMotorControl.CommandId getEnum(int index)
public int getInt()
getInt
in interface CommandIdInterface