|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapp.spa.SPAPlayerEventHandler
public class SPAPlayerEventHandler
Loading player event handler: receives notification of SiGML loading
and animation events from the SiGML Player Applet's JA player component,
converting them into SPAEvent
s which it posts (typically to
the SPA event dispatcher thread) via an event target supplied at
construction time.
Constructor Summary | |
---|---|
SPAPlayerEventHandler(SPAEventTarget etarget)
Constructs a new loading player event handler, which will direct the events it generates to the given target. |
Method Summary | |
---|---|
void |
loaderHasStarted()
Handles a loader started event, posting a corresponding event to this handler's target, and checking the resulting acknowledgement. |
void |
loaderIsDone(boolean gotanim,
int nsigns,
int nframes)
Handles an animation load done event, with the given success flag and sign- and frame-counts. |
void |
nextSignLoaded(int s,
int flimit)
Handles a next sign (in animation) loaded event, with the given sign index and frame index limit values. |
void |
playerIsAtNewFrame(player.AnimationScan scan,
boolean dropped)
Handles a player at new frame event, with the associated scanner, and frame dropped flag. |
void |
playerIsDone(player.AnimationScan scan)
Handles a player done event, with the associated scanner. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SPAPlayerEventHandler(SPAEventTarget etarget)
Method Detail |
---|
public void loaderHasStarted()
loaderHasStarted
in interface player.JALoadingPlayerEventHandler
public void nextSignLoaded(int s, int flimit)
nextSignLoaded
in interface player.JALoadingPlayerEventHandler
public void loaderIsDone(boolean gotanim, int nsigns, int nframes)
loaderIsDone
in interface player.JALoadingPlayerEventHandler
public void playerIsAtNewFrame(player.AnimationScan scan, boolean dropped)
playerIsAtNewFrame
in interface player.JAPlayerEventHandler
public void playerIsDone(player.AnimationScan scan)
playerIsDone
in interface player.JAPlayerEventHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |