org.jfugue
Class EasyAnticipatorListener

java.lang.Object
  extended by org.jfugue.ParserListenerAdapter
      extended by org.jfugue.EasyAnticipatorListener
All Implemented Interfaces:
java.util.EventListener, ParserListener

public abstract class EasyAnticipatorListener
extends ParserListenerAdapter


Constructor Summary
EasyAnticipatorListener()
           
 
Method Summary
abstract  void extendedNoteEvent(Voice voice, Instrument instrument, Note note)
           
 void instrumentEvent(Instrument instrument)
          Called when the parser encounters an 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 org.jfugue.ParserListenerAdapter
channelPressureEvent, controllerEvent, keySignatureEvent, layerEvent, measureEvent, pitchBendEvent, polyphonicPressureEvent, timeEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EasyAnticipatorListener

public EasyAnticipatorListener()
Method Detail

tempoEvent

public void tempoEvent(Tempo tempo)
Description copied from class: ParserListenerAdapter
Called when the parser encounters a tempo event.

Specified by:
tempoEvent in interface ParserListener
Overrides:
tempoEvent in class ParserListenerAdapter
Parameters:
tempo - the event that has been parsed
See Also:
Tempo

voiceEvent

public void voiceEvent(Voice voice)
Description copied from class: ParserListenerAdapter
Called when the parser encounters a voice event.

Specified by:
voiceEvent in interface ParserListener
Overrides:
voiceEvent in class ParserListenerAdapter
Parameters:
voice - the event that has been parsed
See Also:
Voice

instrumentEvent

public void instrumentEvent(Instrument instrument)
Description copied from class: ParserListenerAdapter
Called when the parser encounters an instrument event.

Specified by:
instrumentEvent in interface ParserListener
Overrides:
instrumentEvent in class ParserListenerAdapter
Parameters:
instrument - the event that has been parsed
See Also:
Instrument

noteEvent

public void noteEvent(Note note)
Description copied from class: ParserListenerAdapter
Called when the parser encounters an initial note event.

Specified by:
noteEvent in interface ParserListener
Overrides:
noteEvent in class ParserListenerAdapter
Parameters:
note - the event that has been parsed
See Also:
Note

parallelNoteEvent

public void parallelNoteEvent(Note note)
Description copied from class: ParserListenerAdapter
Called when the parser encounters a parallel note event.

Specified by:
parallelNoteEvent in interface ParserListener
Overrides:
parallelNoteEvent in class ParserListenerAdapter
Parameters:
note - the event that has been parsed
See Also:
Note

sequentialNoteEvent

public void sequentialNoteEvent(Note note)
Description copied from class: ParserListenerAdapter
Called when the parser encounters a sequential note event.

Specified by:
sequentialNoteEvent in interface ParserListener
Overrides:
sequentialNoteEvent in class ParserListenerAdapter
Parameters:
note - the event that has been parsed
See Also:
Note

extendedNoteEvent

public abstract void extendedNoteEvent(Voice voice,
                                       Instrument instrument,
                                       Note note)