public static enum SamplePlayer.LoopType extends java.lang.Enum<SamplePlayer.LoopType>
Enum Constant and Description |
---|
LOOP_ALTERNATING
Loop alternately forwards and backwards.
|
LOOP_BACKWARDS
Play backwards with loop.
|
LOOP_FORWARDS
Play forwards with loop.
|
NO_LOOP_BACKWARDS
Play backwards without looping.
|
NO_LOOP_FORWARDS
Play forwards without looping.
|
Modifier and Type | Method and Description |
---|---|
static SamplePlayer.LoopType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SamplePlayer.LoopType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SamplePlayer.LoopType NO_LOOP_FORWARDS
public static final SamplePlayer.LoopType NO_LOOP_BACKWARDS
public static final SamplePlayer.LoopType LOOP_FORWARDS
public static final SamplePlayer.LoopType LOOP_BACKWARDS
public static final SamplePlayer.LoopType LOOP_ALTERNATING
public static SamplePlayer.LoopType[] values()
for (SamplePlayer.LoopType c : SamplePlayer.LoopType.values()) System.out.println(c);
public static SamplePlayer.LoopType 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