protected static enum AbstractSequenceEngine.PatternRestartMode extends Enum<AbstractSequenceEngine.PatternRestartMode>
Enum Constant and Description |
---|
CHORD
Restart pattern on every new chord.
|
CHORD_SECTION
Restart pattern on every new chord section.
|
SONG
Never restart the pattern.
|
Modifier and Type | Method and Description |
---|---|
static AbstractSequenceEngine.PatternRestartMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractSequenceEngine.PatternRestartMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractSequenceEngine.PatternRestartMode SONG
public static final AbstractSequenceEngine.PatternRestartMode CHORD_SECTION
public static final AbstractSequenceEngine.PatternRestartMode CHORD
public static AbstractSequenceEngine.PatternRestartMode[] values()
for (AbstractSequenceEngine.PatternRestartMode c : AbstractSequenceEngine.PatternRestartMode.values()) System.out.println(c);
public static AbstractSequenceEngine.PatternRestartMode 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