public enum MouseAction extends Enum<MouseAction>
| Enum Constant and Description |
|---|
Click |
DoubleClick |
Down |
Move |
RightClick |
Up |
| Modifier and Type | Method and Description |
|---|---|
static MouseAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MouseAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MouseAction Click
public static final MouseAction RightClick
public static final MouseAction DoubleClick
public static final MouseAction Move
public static final MouseAction Down
public static final MouseAction Up
public static MouseAction[] values()
for (MouseAction c : MouseAction.values()) System.out.println(c);
public static MouseAction 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 © 2017. All rights reserved.