public enum TouchPointState extends Enum<TouchPointState>
Enum Constant and Description |
---|
Moved
Used to indicate that the touch point moved.
|
Pressed
Used to indicate that the touch point is pressed.
|
Released
Used to indicate that the touch point was released.
|
Stationary
Used to indicate that the touch point did not move.
|
Modifier and Type | Method and Description |
---|---|
static TouchPointState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TouchPointState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TouchPointState Pressed
public static final TouchPointState Moved
public static final TouchPointState Released
public static final TouchPointState Stationary
public static TouchPointState[] values()
for (TouchPointState c : TouchPointState.values()) System.out.println(c);
public static TouchPointState 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