public static enum CapabilityColor.CommandId extends java.lang.Enum<CapabilityColor.CommandId> implements Capability.CommandId
CapabilityColor
.Enum Constant and Description |
---|
GET_COLOR_COMPONENTS |
GET_COLOR_HSL |
GET_COLOR_RGB |
GET_COLOR_TEMP |
SET_COLOR_COMPONENTS |
SET_COLOR_HSL |
SET_COLOR_RGB |
SET_COLOR_TEMP |
Modifier and Type | Method and Description |
---|---|
static CapabilityColor.CommandId |
getEnum(int index) |
int |
getInt() |
static CapabilityColor.CommandId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CapabilityColor.CommandId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CapabilityColor.CommandId SET_COLOR_RGB
public static final CapabilityColor.CommandId SET_COLOR_HSL
public static final CapabilityColor.CommandId SET_COLOR_TEMP
public static final CapabilityColor.CommandId SET_COLOR_COMPONENTS
public static final CapabilityColor.CommandId GET_COLOR_RGB
public static final CapabilityColor.CommandId GET_COLOR_HSL
public static final CapabilityColor.CommandId GET_COLOR_TEMP
public static final CapabilityColor.CommandId GET_COLOR_COMPONENTS
public static CapabilityColor.CommandId[] values()
for (CapabilityColor.CommandId c : CapabilityColor.CommandId.values()) System.out.println(c);
public static CapabilityColor.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 CapabilityColor.CommandId getEnum(int index)
public int getInt()
getInt
in interface CommandIdInterface