public static enum TouchEvent.Type extends Enum<TouchEvent.Type>
| Enum Constant and Description |
|---|
TOUCH_CANCEL |
TOUCH_END |
TOUCH_MOVE |
TOUCH_START |
| Modifier and Type | Method and Description |
|---|---|
static TouchEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TouchEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TouchEvent.Type TOUCH_START
public static final TouchEvent.Type TOUCH_END
public static final TouchEvent.Type TOUCH_MOVE
public static final TouchEvent.Type TOUCH_CANCEL
public static TouchEvent.Type[] values()
for (TouchEvent.Type c : TouchEvent.Type.values()) System.out.println(c);
public static TouchEvent.Type 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 nullCopyright © 2020 XDEV Software Corp.. All rights reserved.