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