|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplayer.JAFramesPlayer
player.JALoadingPlayer
public class JALoadingPlayer
A JALoadingPlayer
is a JAFramesPlayer
equipped
with the ability to load an animation sequence for a given SiGML
or CAS source (URL or string), and then to play that sequence.
Field Summary |
---|
Fields inherited from class player.JAFramesPlayer |
---|
SZ_CAM_DATA |
Constructor Summary | |
---|---|
JALoadingPlayer(JAOptions jopts,
JACanvasEmbedder embedder)
Constructs a new JA Loading Player using the given options and avatar-canvas embedder, with no avatar-event handler, no player-event handler, no speed control, and with the player's cyclic-play and single-sign flags both intitially false. |
|
JALoadingPlayer(JAOptions jopts,
JACanvasEmbedder embedder,
AvatarEventHandler aehdlr,
JALoadingPlayerEventHandler lpehdlr,
SpeedProvider sp)
Constructs a JALoadingPlayer using the given options, avatar-canvas embedder, avatar-event handler, player-event handler, speed control, and with the player's cyclic-play and single-sign flags both intitially false. |
|
JALoadingPlayer(JAOptions jopts,
JACanvasEmbedder embedder,
AvatarEventHandler aehdlr,
JALoadingPlayerEventHandler lpehdlr,
SpeedProvider sp,
boolean cyclic,
boolean onesign)
Constructs a JALoadingPlayer using the given options, avatar-canvas embedder, avatar-event handler, player-event handler, speed control, and initial cyclic-play and single-sign flag settings. |
Method Summary | |
---|---|
void |
playCAS(CASFrame[] frames)
Plays the animation defined the given CAS frames sequence. |
void |
playSiGML(java.lang.String sigml)
Plays the animation generated from the given SiGML string. |
void |
playSiGMLURL(java.net.URL url)
Plays the animation generated from the given SiGML URL, which is assumed to be non-null. |
void |
processSiGMLInput(java.io.InputStream sins,
boolean doplay)
Plays the animation generated from the given SiGML InputStream. |
void |
replay()
Replays this player's current animation, which is assumed to exist as a result of a previous call to one of the play...() methods. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JALoadingPlayer(JAOptions jopts, JACanvasEmbedder embedder)
public JALoadingPlayer(JAOptions jopts, JACanvasEmbedder embedder, AvatarEventHandler aehdlr, JALoadingPlayerEventHandler lpehdlr, SpeedProvider sp)
public JALoadingPlayer(JAOptions jopts, JACanvasEmbedder embedder, AvatarEventHandler aehdlr, JALoadingPlayerEventHandler lpehdlr, SpeedProvider sp, boolean cyclic, boolean onesign)
Method Detail |
---|
public void playSiGMLURL(java.net.URL url) throws java.lang.InterruptedException
java.lang.InterruptedException
public void playSiGML(java.lang.String sigml) throws java.lang.InterruptedException
java.lang.InterruptedException
public void processSiGMLInput(java.io.InputStream sins, boolean doplay) throws java.lang.InterruptedException
java.lang.InterruptedException
public void playCAS(CASFrame[] frames)
public void replay()
play...()
methods.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |