|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<LoopMode>
com.jme3.animation.LoopMode
public enum LoopMode
LoopMode
determines how animations repeat, or if they
do not repeat.
Enum Constant Summary | |
---|---|
Cycle
The animation will cycle back and forth. |
|
DontLoop
The animation will not loop. |
|
Loop
The animation will play repeatedly, when it reaches the end the animation will play again from the beginning, and so on. |
Method Summary | |
---|---|
static LoopMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LoopMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final LoopMode Loop
public static final LoopMode DontLoop
public static final LoopMode Cycle
Method Detail |
---|
public static LoopMode[] values()
for (LoopMode c : LoopMode.values()) System.out.println(c);
public static LoopMode 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |