public enum TouchType extends Enum<TouchType>
| Enum Constant and Description |
|---|
BEGIN
The user has touched the screen.
|
CANCEL
The user has made a cancellation gesture.
|
END
The User has removed his finger from the screen.
|
MOVE
The User has moved his finger over the screen.
|
| Modifier and Type | Method and Description |
|---|---|
static TouchType |
valueForString(String value)
Convert String to TouchType
|
static TouchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TouchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TouchType BEGIN
public static final TouchType MOVE
public static final TouchType END
public static final TouchType CANCEL
public static TouchType[] values()
for (TouchType c : TouchType.values()) System.out.println(c);
public static TouchType 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