public interface JAPlayerEventHandler
JAFramesPlayer
provides notification of player events to its environment/owner.Modifier and Type | Method and Description |
---|---|
void |
playerIsAtNewFrame(AnimationScan scan,
boolean dropped)
Reports that the associated player is about to play, or drop,
a new frame, as described by the specified
AnimationScan , and dropped flag. |
void |
playerIsDone(AnimationScan scan)
Reports that the associated player has stopped playing, either
because its animation sequence has been completed or because
it has received a Stop signal; the next frame to be played at
the point of stopping is indicated by the specified
AnimationScan . |
void playerIsAtNewFrame(AnimationScan scan, boolean dropped)
AnimationScan
, and dropped
flag.void playerIsDone(AnimationScan scan)
AnimationScan
.