|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Parser
Method Summary | |
void |
controllerEvent(Controller controller)
Called when the parser encounters a controller event. |
void |
instrumentEvent(Instrument instrument)
Called when the parser encounters a instrument 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 |
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 |
voiceEvent(Voice voice)
Called when the parser encounters a voice event. |
Method Detail |
public void voiceEvent(Voice voice)
voice
- the event that has been parsedpublic void tempoEvent(Tempo tempo)
tempo
- the event that has been parsedpublic void instrumentEvent(Instrument instrument)
instrument
- the event that has been parsedpublic void controllerEvent(Controller controller)
controller
- the event that has been parsedpublic void noteEvent(Note note)
note
- the event that has been parsedpublic void sequentialNoteEvent(Note note)
note
- the event that has been parsedpublic void parallelNoteEvent(Note note)
note
- the event that has been parsed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |