public enum MouseEvent extends Enum<MouseEvent> implements EventLabel
Defines standard mouse events.
| Enum Constant and Description |
|---|
CLICK |
DBLCLICK |
MOUSEDOWN |
MOUSEENTER |
MOUSELEAVE |
MOUSEMOVE |
MOUSEOUT |
MOUSEOVER |
MOUSEUP |
SCROLL |
| Modifier and Type | Method and Description |
|---|---|
String |
getEventLabel() |
static MouseEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MouseEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MouseEvent CLICK
public static final MouseEvent DBLCLICK
public static final MouseEvent MOUSEDOWN
public static final MouseEvent MOUSEENTER
public static final MouseEvent MOUSELEAVE
public static final MouseEvent MOUSEMOVE
public static final MouseEvent MOUSEOUT
public static final MouseEvent MOUSEOVER
public static final MouseEvent MOUSEUP
public static final MouseEvent SCROLL
public static MouseEvent[] values()
for (MouseEvent c : MouseEvent.values()) System.out.println(c);
public static MouseEvent 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 getEventLabel()
getEventLabel in interface EventLabelCopyright © 2009-2012. All Rights Reserved.