public enum PlayMode extends Enum<PlayMode>
Enum Constant and Description |
---|
DIRECT_1 |
INTRO |
NORMAL |
RANDOM |
REPEAT_ALL |
REPEAT_ONE |
SHUFFLE |
Modifier and Type | Method and Description |
---|---|
static PlayMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayMode NORMAL
public static final PlayMode SHUFFLE
public static final PlayMode REPEAT_ONE
public static final PlayMode REPEAT_ALL
public static final PlayMode RANDOM
public static final PlayMode DIRECT_1
public static final PlayMode INTRO
public static PlayMode[] values()
for (PlayMode c : PlayMode.values()) System.out.println(c);
public static 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 © 2016 4th Line GmbH, Switzerland. All rights reserved.