player
Interface JAPlayerEventHandler

All Known Subinterfaces:
JALoadingPlayerEventHandler, JASocketPlayerEventHandler
All Known Implementing Classes:
JALoadingPlayerEventAdapter, JAPlayerEventAdapter, JASocketPlayerEventAdapter

public interface JAPlayerEventHandler

This is the interface via which a JAFramesPlayer provides notification of player events to its environment/owner.


Method Summary
 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.
 

Method Detail

playerIsAtNewFrame

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.


playerIsDone

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.