public static enum Player.RepeatMode extends Enum<Player.RepeatMode>
Enum Constant and Description |
---|
repeatAll |
repeatOff |
repeatSingle |
Modifier and Type | Method and Description |
---|---|
static Player.RepeatMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Player.RepeatMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Player.RepeatMode repeatOff
public static final Player.RepeatMode repeatSingle
public static final Player.RepeatMode repeatAll
public static Player.RepeatMode[] values()
for (Player.RepeatMode c : Player.RepeatMode.values()) System.out.println(c);
public static Player.RepeatMode 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 null