public enum MouseClickState extends java.lang.Enum<MouseClickState>
Enum Constant and Description |
---|
EXECUTE
called on mouse-up after a successful
SIMULATE |
SIMULATE
called on mouse-down or to see if a click would be handled
|
VANILLA
called on mouse-down to execute a click from a vanilla GUI, without waiting for mouse-up
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSimulate() |
boolean |
isVanilla() |
static MouseClickState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MouseClickState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MouseClickState SIMULATE
public static final MouseClickState EXECUTE
SIMULATE
public static final MouseClickState VANILLA
public static MouseClickState[] values()
for (MouseClickState c : MouseClickState.values()) System.out.println(c);
public static MouseClickState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isSimulate()
public boolean isVanilla()