public static enum TouchInput.Gestures extends java.lang.Enum<TouchInput.Gestures>
Enum Constant and Description |
---|
DOUBLE_TAP |
LONG_PRESS |
PAN |
ROTATE |
SCALE |
SHOVE |
TAP |
Modifier and Type | Method and Description |
---|---|
boolean |
isMultiTouch()
Whether a gesture uses multiple touch points simultaneously
|
static TouchInput.Gestures |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TouchInput.Gestures[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TouchInput.Gestures TAP
public static final TouchInput.Gestures DOUBLE_TAP
public static final TouchInput.Gestures LONG_PRESS
public static final TouchInput.Gestures PAN
public static final TouchInput.Gestures ROTATE
public static final TouchInput.Gestures SCALE
public static final TouchInput.Gestures SHOVE
public static TouchInput.Gestures[] values()
for (TouchInput.Gestures c : TouchInput.Gestures.values()) System.out.println(c);
public static TouchInput.Gestures 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 boolean isMultiTouch()