public static enum FormMouseEvent.Type extends Enum<FormMouseEvent.Type>
FormMouseEvent. Each FormMouseEvent is
associated with such a type constant, so that it is possible to find out
what exactly has happened.| Enum Constant and Description |
|---|
MOUSE_CLICKED
A mouse button was clicked.
|
MOUSE_DOUBLE_CLICKED
A double click with a mouse button was performed.
|
MOUSE_ENTERED
The mouse cursor entered the monitored component.
|
MOUSE_EXITED
The mouse cursor exited the monitored component.
|
MOUSE_PRESSED
A mouse button was pressed.
|
MOUSE_RELEASED
A mouse button was released.
|
| Modifier and Type | Method and Description |
|---|---|
static FormMouseEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormMouseEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormMouseEvent.Type MOUSE_PRESSED
public static final FormMouseEvent.Type MOUSE_RELEASED
public static final FormMouseEvent.Type MOUSE_CLICKED
public static final FormMouseEvent.Type MOUSE_DOUBLE_CLICKED
public static final FormMouseEvent.Type MOUSE_ENTERED
public static final FormMouseEvent.Type MOUSE_EXITED
public static FormMouseEvent.Type[] values()
for (FormMouseEvent.Type c : FormMouseEvent.Type.values()) System.out.println(c);
public static FormMouseEvent.Type 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 nullCopyright © 2016 The JGUIraffe Team. All rights reserved.