|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jfugue.ParserListenerAdapter
This Adapter class implements all of the methods of ParserListener, but the implementations are blank. If you want something to be a ParserListener, but you don't want to implement all of the ParserListener methods, extend this class.
Constructor Summary | |
ParserListenerAdapter()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ParserListenerAdapter()
Method Detail |
public void voiceEvent(Voice voice)
voiceEvent
in interface ParserListener
voice
- the event that has been parsedpublic void tempoEvent(Tempo tempo)
tempoEvent
in interface ParserListener
tempo
- the event that has been parsedpublic void instrumentEvent(Instrument instrument)
instrumentEvent
in interface ParserListener
instrument
- the event that has been parsedpublic void controllerEvent(Controller controller)
controllerEvent
in interface ParserListener
controller
- the event that has been parsedpublic void noteEvent(Note note)
noteEvent
in interface ParserListener
note
- the event that has been parsedpublic void sequentialNoteEvent(Note note)
sequentialNoteEvent
in interface ParserListener
note
- the event that has been parsedpublic void parallelNoteEvent(Note note)
parallelNoteEvent
in interface ParserListener
note
- the event that has been parsed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |