public static enum HiTechnicNxtColorSensor.Register extends java.lang.Enum<HiTechnicNxtColorSensor.Register>
Enum Constant and Description |
---|
BLUE |
COLOR_NUMBER |
COMMAND |
GREEN |
READ_WINDOW_FIRST |
READ_WINDOW_LAST |
RED |
Modifier and Type | Field and Description |
---|---|
byte |
bVal |
Modifier and Type | Method and Description |
---|---|
static HiTechnicNxtColorSensor.Register |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HiTechnicNxtColorSensor.Register[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiTechnicNxtColorSensor.Register COMMAND
public static final HiTechnicNxtColorSensor.Register COLOR_NUMBER
public static final HiTechnicNxtColorSensor.Register RED
public static final HiTechnicNxtColorSensor.Register GREEN
public static final HiTechnicNxtColorSensor.Register BLUE
public static final HiTechnicNxtColorSensor.Register READ_WINDOW_FIRST
public static final HiTechnicNxtColorSensor.Register READ_WINDOW_LAST
public static HiTechnicNxtColorSensor.Register[] values()
for (HiTechnicNxtColorSensor.Register c : HiTechnicNxtColorSensor.Register.values()) System.out.println(c);
public static HiTechnicNxtColorSensor.Register 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 null