public static enum TouchSensor.Mode extends Enum<TouchSensor.Mode>
Enum Constant and Description |
---|
TOUCH |
Modifier and Type | Method and Description |
---|---|
static TouchSensor.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TouchSensor.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TouchSensor.Mode TOUCH
public static TouchSensor.Mode[] values()
for (TouchSensor.Mode c : TouchSensor.Mode.values()) System.out.println(c);
public static TouchSensor.Mode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null