player
Class SequencePlayManager

java.lang.Object
  extended by player.SequencePlayManager

public class SequencePlayManager
extends java.lang.Object

Provides support to a JAFramesPlayer by managing the creation and running of a thread to play a sequence of animation frames. Once the manager has been created, its startSequencePlay() method can be used to create and launch the frame display thread; this method should be called once only. That is, the client player should create a new instance of this manager class each time it needs to display a frame.


Constructor Summary
SequencePlayManager(boolean resuming, PlayerFlags flags, View view, CameraController camctrl, AnimationScan ascan, JAPlayerEventHandler peh, SpeedProvider sp, int fdlimit, boolean showat, player.SequencePlayManager.Client client)
          Constructs a new sequence play manager, resuming or restarting as specified, using the given player flags, JA avatar view, camera controller, animation scanner, player event handler and speed provider, using the specified frame drift time limit, displaying animation times or not as specified, and notifying the given client.
 
Method Summary
 void startSequencePlay()
          Creates and runs the animation sequence play thread.
 void stopSequencePlay()
          Requests that playing of the animation sequence be prematurely terminated.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequencePlayManager

public SequencePlayManager(boolean resuming,
                           PlayerFlags flags,
                           View view,
                           CameraController camctrl,
                           AnimationScan ascan,
                           JAPlayerEventHandler peh,
                           SpeedProvider sp,
                           int fdlimit,
                           boolean showat,
                           player.SequencePlayManager.Client client)
Constructs a new sequence play manager, resuming or restarting as specified, using the given player flags, JA avatar view, camera controller, animation scanner, player event handler and speed provider, using the specified frame drift time limit, displaying animation times or not as specified, and notifying the given client.

Method Detail

startSequencePlay

public void startSequencePlay()
Creates and runs the animation sequence play thread. This method should be called once only.


stopSequencePlay

public void stopSequencePlay()
Requests that playing of the animation sequence be prematurely terminated.