Serializable
, Comparable<MouseActionType>
public enum MouseActionType extends Enum<MouseActionType>
Enum Constant | Description |
---|---|
CLICK_DOWN |
|
CLICK_RELEASE |
|
DRAG |
Moving the mouse cursor on the screen while holding a button down
|
MOVE |
Moving the mouse cursor on the screen without holding any buttons down
|
SCROLL_DOWN |
|
SCROLL_UP |
Modifier and Type | Method | Description |
---|---|---|
static MouseActionType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MouseActionType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MouseActionType CLICK_DOWN
public static final MouseActionType CLICK_RELEASE
public static final MouseActionType SCROLL_UP
public static final MouseActionType SCROLL_DOWN
public static final MouseActionType DRAG
public static final MouseActionType MOVE
public static MouseActionType[] values()
for (MouseActionType c : MouseActionType.values()) System.out.println(c);
public static MouseActionType 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 © 2020. All rights reserved.