public enum AnimationMode extends java.lang.Enum<AnimationMode>
| Enum Constant and Description |
|---|
DEFAULT
The animation will play once and then stop.
|
LOOP
Loop the animation from the beginning after it has finished.
|
PING_PONG
Loop the animation in a ping-pong way (forward-backward-forward-backward...).
|
| Modifier and Type | Method and Description |
|---|---|
static AnimationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnimationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnimationMode DEFAULT
public static final AnimationMode LOOP
public static final AnimationMode PING_PONG
public static AnimationMode[] values()
for (AnimationMode c : AnimationMode.values()) System.out.println(c);
public static AnimationMode 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 null