public class SequencePlayManager
extends java.lang.Object
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 play a sequence of frames.Constructor and Description |
---|
SequencePlayManager(boolean resuming,
PlayerFlags flags,
View view,
CameraController camctrl,
AnimationScan ascan,
JAPlayerEventHandler peh,
SpeedProvider sp,
int initla,
int fdlimit,
int droplimit,
boolean pipedsigns,
boolean showat,
boolean logas,
boolean logdfs,
boolean logdf,
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 initial lookahead time (ms),
frame drift time limit (ms), frame drop period limit (ms),
with a piped signs animation source,
displaying animation times or not as specified,
logging an animation summary or not as specified,
logging a dropped frames summary or not as specified,
logging dropped frames or not as specified,
and notifying the given client.
|
Modifier and Type | Method and Description |
---|---|
void |
startSequencePlay()
Creates and runs the animation sequence play thread.
|
void |
stopSequencePlay()
Requests that playing of the animation sequence be prematurely
terminated.
|
public SequencePlayManager(boolean resuming, PlayerFlags flags, View view, CameraController camctrl, AnimationScan ascan, JAPlayerEventHandler peh, SpeedProvider sp, int initla, int fdlimit, int droplimit, boolean pipedsigns, boolean showat, boolean logas, boolean logdfs, boolean logdf, player.SequencePlayManager.Client client)