public static enum AMSColorSensor.Enable extends java.lang.Enum<AMSColorSensor.Enable>
Enum Constant and Description |
---|
AEN |
AIEN |
OFF |
PEN |
PIEN |
PON |
RES6 |
RES7 |
UNKNOWN |
WEN |
Modifier and Type | Field and Description |
---|---|
byte |
bVal |
Modifier and Type | Method and Description |
---|---|
byte |
bitOr(AMSColorSensor.Enable him) |
byte |
bitOr(byte him) |
static AMSColorSensor.Enable |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AMSColorSensor.Enable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AMSColorSensor.Enable RES7
public static final AMSColorSensor.Enable RES6
public static final AMSColorSensor.Enable PIEN
public static final AMSColorSensor.Enable AIEN
public static final AMSColorSensor.Enable WEN
public static final AMSColorSensor.Enable PEN
public static final AMSColorSensor.Enable AEN
public static final AMSColorSensor.Enable PON
public static final AMSColorSensor.Enable OFF
public static final AMSColorSensor.Enable UNKNOWN
public static AMSColorSensor.Enable[] values()
for (AMSColorSensor.Enable c : AMSColorSensor.Enable.values()) System.out.println(c);
public static AMSColorSensor.Enable 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 byte bitOr(AMSColorSensor.Enable him)
public byte bitOr(byte him)