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