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