|
||||||||||
| 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 parsedVoicevoid tempoEvent(Tempo tempo)
tempo - the event that has been parsedTempovoid instrumentEvent(Instrument instrument)
instrument - the event that has been parsedInstrumentvoid layerEvent(Layer layer)
layer - the event that has been parsedLayervoid measureEvent(Measure measure)
measure - the event that has been parsedMeasurevoid timeEvent(Time time)
time - the event that has been parsedTimevoid keySignatureEvent(KeySignature keySig)
time - the event that has been parsedKeySignaturevoid controllerEvent(Controller controller)
controller - the event that has been parsedvoid channelPressureEvent(ChannelPressure channelPressure)
channelPressure - the event that has been parsedChannelPressurevoid polyphonicPressureEvent(PolyphonicPressure polyphonicPressure)
polyphonicPressure - the event that has been parsedPolyphonicPressurevoid pitchBendEvent(PitchBend pitchBend)
pitchBend - the event that has been parsedPitchBendvoid noteEvent(Note note)
note - the event that has been parsedNotevoid sequentialNoteEvent(Note note)
note - the event that has been parsedNotevoid 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 | |||||||||