|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<NotePlayerListener.PlayerMode> sky.monome.event.sequencer.NotePlayerListener.PlayerMode
public static enum NotePlayerListener.PlayerMode
Player mode used by note player listeners.
Enum Constant Summary | |
---|---|
PLAY_WITH_NOTE_NUMBER_IN_STEP
Denotes the player mode that takes the number of the currently active note rank in the currently active step to choose the note to play in the scale. |
|
PLAY_WITH_STEP_NUMBER
Denotes the player mode that takes the number of the currently active step to choose the note to play in the scale. |
Method Summary | |
---|---|
abstract int |
getMaximumValueForPropertyOfInterest(Sequencer<?,?> sequencer)
Returns the maximum value for the property of interest in the specified sequencer. |
abstract int |
getPropertyOfInterest(SequencerEvent<?,?> sequencerEvent)
Returns the property of interest in the specified sequencer event. |
static NotePlayerListener.PlayerMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NotePlayerListener.PlayerMode[] |
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 NotePlayerListener.PlayerMode PLAY_WITH_STEP_NUMBER
public static final NotePlayerListener.PlayerMode PLAY_WITH_NOTE_NUMBER_IN_STEP
Method Detail |
---|
public static NotePlayerListener.PlayerMode[] values()
for (NotePlayerListener.PlayerMode c : NotePlayerListener.PlayerMode.values()) System.out.println(c);
public static NotePlayerListener.PlayerMode 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 nullpublic abstract int getPropertyOfInterest(SequencerEvent<?,?> sequencerEvent)
sequencerEvent
- Sequencer event to extract the property of interest.
public abstract int getMaximumValueForPropertyOfInterest(Sequencer<?,?> sequencer)
sequencer
- Sequencer to extract the maximum value for the property of interest.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |