public enum Event extends Enum<Event> implements Key
Enum Constant and Description |
---|
CLICK
A pointing device button has been pressed and released on an element.
|
CONTEXT_MENU
The right button of the mouse is clicked (before the context menu is displayed).
|
DOUBLE_CLICK
A pointing device button is clicked twice on an element.
|
MOUSE_DOWN
A pointing device button is pressed on an element.
|
MOUSE_ENTER
A pointing device is moved onto the element that has the listener attached.
|
MOUSE_LEAVE
A pointing device is moved off the element that has the listener attached.
|
MOUSE_MOVE
A pointing device is moved over an element.
|
MOUSE_OUT
A pointing device is moved off the element that has the listener attached or off one of its children.
|
MOUSE_OVER
A pointing device is moved onto the element that has the listener attached or onto one of its children.
|
MOUSE_UP
A pointing device button is released over an element.
|
WHEEL
A wheel button of a pointing device is rotated in any direction.
|
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 CLICK
public static final Event CONTEXT_MENU
public static final Event DOUBLE_CLICK
public static final Event MOUSE_DOWN
public static final Event MOUSE_ENTER
public static final Event MOUSE_LEAVE
public static final Event MOUSE_MOVE
public static final Event MOUSE_OVER
public static final Event MOUSE_OUT
public static final Event MOUSE_UP
public static final Event WHEEL
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