public enum Event extends Enum<Event> implements Key
Enum Constant and Description |
---|
click
The user clicks an element
|
mousemove
The user moves the mouse over an element
|
mouseout
The user moves the mouse away from an element
|
touchend
The user touches a point is removed from the touch surface.
|
touchmove
The user touches a point is moved along the touch surface.
|
touchstart
The user touches a point is placed on the touch surface.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final Event mousemove
public static final Event mouseout
public static final Event click
public static final Event touchstart
public static final Event touchmove
public static final Event touchend
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