|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectabc.midi.TunePlayerAdapter
A convenient class to listen to TunePlayer. This listener does nothing. Just extend from it to override your behaviours.
Constructor Summary | |
TunePlayerAdapter()
|
Method Summary | |
void |
notePlayed(NoteAbstract note)
|
void |
partPlayed(int begin,
int end)
Invoked when a part of the tune notation is played. |
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TunePlayerAdapter()
Method Detail |
public void playBegin(PlayerStateChangeEvent e)
playBegin
in interface TunePlayerListenerInterface
public void playEnd(PlayerStateChangeEvent e)
playEnd
in interface TunePlayerListenerInterface
public void tempoChanged(TempoChangeEvent e)
tempoChanged
in interface TunePlayerListenerInterface
public void partPlayed(int begin, int end)
partPlayed
in interface TunePlayerListenerInterface
public void notePlayed(NoteAbstract note)
notePlayed
in interface TunePlayerListenerInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |