public abstract class SoundPlaybackAdapter extends java.lang.Object implements SoundPlaybackListener
SoundPlaybackListener that allows to only overwrite
individual callbacks in anonymous implementations.SoundPlaybackListener| Constructor and Description |
|---|
SoundPlaybackAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelled(SoundEvent event)
This method gets called when a
SoundPlayback is cancelled. |
void |
finished(SoundEvent event)
This method gets called when a
SoundPlayback is finished. |
public void cancelled(SoundEvent event)
SoundPlaybackListenerSoundPlayback is cancelled.cancelled in interface SoundPlaybackListenerevent - a SoundEvent object describing the
event source and the related Sound.public void finished(SoundEvent event)
SoundPlaybackListenerSoundPlayback is finished.finished in interface SoundPlaybackListenerevent - a SoundEvent object describing the
event source and the related Sound.