public static enum Annotation.TouchType extends Enum<Annotation.TouchType>
| Enum Constant and Description |
|---|
Cancel
Pressed and cancelled; occurs only in some corner cases
|
Click
One tap on the screen
|
Down
Touch-down type
|
LongClick
Press and hold on the screen
|
Move
Press and drag on the screen
|
| Modifier and Type | Method and Description |
|---|---|
static Annotation.TouchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Annotation.TouchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Annotation.TouchType Down
public static final Annotation.TouchType Click
public static final Annotation.TouchType LongClick
public static final Annotation.TouchType Move
public static final Annotation.TouchType Cancel
public static Annotation.TouchType[] values()
for (Annotation.TouchType c : Annotation.TouchType.values()) System.out.println(c);
public static Annotation.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