|
||||||||||
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.
Nested Class Summary | |
---|---|
static interface |
JALoadingPlayer.SiGMLPipeWriter
Interface for piped SiGML generation. |
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 initially 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 initially 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 |
playSiGML(java.lang.String sigml)
Plays the animation generated from the given SiGML string. |
JALoadingPlayer.SiGMLPipeWriter |
playSiGMLPiped()
Starts playing the animation generated via a new SiGML pipe, returning the SiGML pipe writer via which the SiGML is to be generated by the caller. |
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. |
void |
saveCAS(java.lang.String av,
java.io.File caspath)
Writes this player's current animation, which is assumed to exist, as a CAS document to the given filesystem path, using the given avatar name. |
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 JALoadingPlayer.SiGMLPipeWriter playSiGMLPiped() throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public void processSiGMLInput(java.io.InputStream sins, boolean doplay) throws java.lang.InterruptedException
java.lang.InterruptedException
public void replay()
play...()
methods.
public void saveCAS(java.lang.String av, java.io.File caspath)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |