|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParserListener
Classes that implement ParserListener and add themselves as listeners
to a Parser
object will receive events when
the Parser
inteprets tokens from a Music String.
MusicStringParser
Method Summary | |
---|---|
void |
channelPressureEvent(ChannelPressure channelPressure)
Called when the parser encounters a channel pressure event. |
void |
controllerEvent(Controller controller)
Called when the parser encounters a controller event. |
void |
instrumentEvent(Instrument instrument)
Called when the parser encounters an instrument event. |
void |
keySignatureEvent(KeySignature keySig)
Called when the parser encounters a key signature event. |
void |
layerEvent(Layer layer)
Called when the parser encounters a layer event. |
void |
measureEvent(Measure measure)
Called when the parser encounters a measure event. |
void |
noteEvent(Note note)
Called when the parser encounters an initial note event. |
void |
parallelNoteEvent(Note note)
Called when the parser encounters a parallel note event. |
void |
pitchBendEvent(PitchBend pitchBend)
Called when the parser encounters a pitch bend event. |
void |
polyphonicPressureEvent(PolyphonicPressure polyphonicPressure)
Called when the parser encounters a polyphonic pressure event. |
void |
sequentialNoteEvent(Note note)
Called when the parser encounters a sequential note event. |
void |
tempoEvent(Tempo tempo)
Called when the parser encounters a tempo event. |
void |
timeEvent(Time time)
Called when the parser encounters a time event. |
void |
voiceEvent(Voice voice)
Called when the parser encounters a voice event. |
Method Detail |
---|
void voiceEvent(Voice voice)
voice
- the event that has been parsedVoice
void tempoEvent(Tempo tempo)
tempo
- the event that has been parsedTempo
void instrumentEvent(Instrument instrument)
instrument
- the event that has been parsedInstrument
void layerEvent(Layer layer)
layer
- the event that has been parsedLayer
void measureEvent(Measure measure)
measure
- the event that has been parsedMeasure
void timeEvent(Time time)
time
- the event that has been parsedTime
void keySignatureEvent(KeySignature keySig)
time
- the event that has been parsedKeySignature
void controllerEvent(Controller controller)
controller
- the event that has been parsedvoid channelPressureEvent(ChannelPressure channelPressure)
channelPressure
- the event that has been parsedChannelPressure
void polyphonicPressureEvent(PolyphonicPressure polyphonicPressure)
polyphonicPressure
- the event that has been parsedPolyphonicPressure
void pitchBendEvent(PitchBend pitchBend)
pitchBend
- the event that has been parsedPitchBend
void noteEvent(Note note)
note
- the event that has been parsedNote
void sequentialNoteEvent(Note note)
note
- the event that has been parsedNote
void parallelNoteEvent(Note note)
note
- the event that has been parsedNote
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |