abc.midi
Interface TunePlayerListenerInterface

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
TunePlayerAdapter

public interface TunePlayerListenerInterface
extends java.util.EventListener

This interface defines methods that should be implemented by any object that wants to listen to a tune player.


Method Summary
 void notePlayed(NoteAbstract note)
           
 void partPlayed(int begin, int end)
          Deprecated. use notPlayed() instead.
 void playBegin(PlayerStateChangeEvent e)
          Invoked when the playing of a tune has started.
 void playEnd(PlayerStateChangeEvent e)
          Invoked when the playing of a tune is ended.
 void tempoChanged(TempoChangeEvent e)
          Invoked when the playing tempo has changed.
 

Method Detail

playBegin

public void playBegin(PlayerStateChangeEvent e)
Invoked when the playing of a tune has started.


playEnd

public void playEnd(PlayerStateChangeEvent e)
Invoked when the playing of a tune is ended.


tempoChanged

public void tempoChanged(TempoChangeEvent e)
Invoked when the playing tempo has changed.


partPlayed

public void partPlayed(int begin,
                       int end)
Deprecated. use notPlayed() instead.

Invoked when a part of the tune notation is played.


notePlayed

public void notePlayed(NoteAbstract note)