com.frinika.sequencer.model
Interface CommitListener

All Known Implementing Classes:
MidiPartGhost

public interface CommitListener

Listens to commit operations of MultiEvents to or from their corresponding Track. Note that listeners get added or removed from the MultiEvent's owning part, not the MultiEvent itself.

Author:
Jens Gulden
See Also:
MultiEvent.commitAdd, MultiEvent.commitRemove, MidiPart.addCommitListener, MidiPart.removeCommitListener

Method Summary
 void commitAddPerformed(MultiEvent event)
          Notifies the listener that a event.commitAdd() has been performed.
 void commitRemovePerformed(MultiEvent event)
          Notifies the listener that a event.commitRemove() has been performed.
 

Method Detail

commitAddPerformed

void commitAddPerformed(MultiEvent event)
Notifies the listener that a event.commitAdd() has been performed.

Parameters:
event - note that MultiEvent is not a subclass of Java's Event class, here the source-object is directly passed as parameter to the listener-method without being wrapped in an Event

commitRemovePerformed

void commitRemovePerformed(MultiEvent event)
Notifies the listener that a event.commitRemove() has been performed.

Parameters:
event - note that MultiEvent is not a subclass of Java's Event class, here the source-object is directly passed as parameter to the listener-method without being wrapped in an Event