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