public enum Event extends Enum<Event> implements Key
Enum Constant and Description |
---|
CLICK
The user clicks an element
|
MOUSE_MOVE
The user moves the mouse over an element
|
MOUSE_OUT
The user moves the mouse away from an element
|
POINTER_DOWN
Fired when a pointer becomes active.
For mouse, it is fired when the device transitions from no buttons depressed to at least one button depressed. For touch, it is fired when physical contact is made with the digitizer. For pen, it is fired when the stylus makes physical contact with the digitizer. |
POINTER_ENTER
Fires when a pointing device is moved into the hit test boundaries of an element or one of its descendants.
|
POINTER_LEAVE
Fired when a pointing device is moved out of the hit test boundaries of an element.
For pen devices, this event is fired when the stylus leaves the hover range detectable by the digitizer. |
POINTER_MOVE
Fired when a pointer changes coordinates, and the pointer has not been canceled by a browser touch-action.
|
POINTER_OUT
Fired for several reasons including:
pointing device is moved out of the hit test boundaries of an element when a pen stylus leaves the hover range detectable by the digitizer |
POINTER_UP
Fired when a pointer is no longer active.
|
TOUCH_END
Fires when one or more touch points are removed from the touch surface.
|
TOUCH_MOVE
The user touches a point is moved along the touch surface.
|
TOUCH_START
The user touches a point is placed on the touch surface.
|
Modifier and Type | Field and Description |
---|---|
static KeyFactory<Event> |
FACTORY
Key factory instance to use for array set reading.
|
Modifier and Type | Method and Description |
---|---|
String |
value()
Returns the name value of property
|
static Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final Event MOUSE_MOVE
public static final Event MOUSE_OUT
public static final Event CLICK
public static final Event TOUCH_START
public static final Event TOUCH_MOVE
public static final Event TOUCH_END
public static final Event POINTER_ENTER
public static final Event POINTER_DOWN
public static final Event POINTER_MOVE
public static final Event POINTER_UP
public static final Event POINTER_LEAVE
public static final Event POINTER_OUT
public static final KeyFactory<Event> FACTORY
public static Event[] values()
for (Event c : Event.values()) System.out.println(c);
public static Event 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