public enum PointerEvents extends Enum<PointerEvents>
Enum Constant and Description |
---|
POINTERCANCEL |
POINTERDOWN |
POINTERENTER |
POINTERLEAVE |
POINTERMOVE |
POINTEROVER |
POINTERUP |
Modifier and Type | Method and Description |
---|---|
String |
getEventName() |
static boolean |
isPointerEvent(String eventType) |
static PointerEvents |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PointerEvents[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PointerEvents POINTERDOWN
public static final PointerEvents POINTERUP
public static final PointerEvents POINTERCANCEL
public static final PointerEvents POINTERMOVE
public static final PointerEvents POINTEROVER
public static final PointerEvents POINTERENTER
public static final PointerEvents POINTERLEAVE
public static PointerEvents[] values()
for (PointerEvents c : PointerEvents.values()) System.out.println(c);
public static PointerEvents 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 String getEventName()
public static boolean isPointerEvent(String eventType)
Copyright © 2018. All rights reserved.