public static enum GestureEvent.Phase extends Enum<GestureEvent.Phase>
| Enum Constant and Description |
|---|
BEGIN |
CANCELLED |
CHANGED |
END |
MOMENTUM |
OTHER |
| Modifier and Type | Method and Description |
|---|---|
static GestureEvent.Phase |
getByCode(int code) |
int |
getCode() |
static GestureEvent.Phase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GestureEvent.Phase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GestureEvent.Phase MOMENTUM
public static final GestureEvent.Phase BEGIN
public static final GestureEvent.Phase CHANGED
public static final GestureEvent.Phase END
public static final GestureEvent.Phase CANCELLED
public static final GestureEvent.Phase OTHER
public static GestureEvent.Phase[] values()
for (GestureEvent.Phase c : GestureEvent.Phase.values()) System.out.println(c);
public static GestureEvent.Phase 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 nullpublic int getCode()
public static GestureEvent.Phase getByCode(int code)
Copyright © 2023. All rights reserved.