protected static enum ForwardAnimation.AnimationState extends Enum<ForwardAnimation.AnimationState> implements Enumeration
Modifier and Type | Method and Description |
---|---|
static ForwardAnimation.AnimationState |
getDefault()
Get the enum constant that is considered to be the default.
|
static ForwardAnimation.AnimationState |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static ForwardAnimation.AnimationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForwardAnimation.AnimationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForwardAnimation.AnimationState RESET
public static final ForwardAnimation.AnimationState ANIMATING
public static final ForwardAnimation.AnimationState PAUSED
public static final ForwardAnimation.AnimationState STOPPED
public static ForwardAnimation.AnimationState[] values()
for (ForwardAnimation.AnimationState c : ForwardAnimation.AnimationState.values()) System.out.println(c);
public static ForwardAnimation.AnimationState 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 nullpublic int getValue()
getValue
in interface Enumeration
public static ForwardAnimation.AnimationState getFromValue(int value)
value
- a numeric value.public static ForwardAnimation.AnimationState getDefault()