|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapp.spa.SPAAvatarEventHandler
public class SPAAvatarEventHandler
Avatar event handler: receives notification of avatar load/unload
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 | |
---|---|
SPAAvatarEventHandler(SPAEventTarget etarget)
Constructs a new avatar event handler, which will direct the SPAEvent s it generates to the given target. |
Method Summary | |
---|---|
void |
avatarIsLoaded(java.lang.String avatar)
Handles the avatar loaded event, for the given avatar, which may be null , indicating an unsuccessful load operation. |
void |
avatarIsUnloaded(java.lang.String avatar)
Handles the avatar unloaded event, for the given avatar. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SPAAvatarEventHandler(SPAEventTarget etarget)
SPAEvent
s it generates to the given target.
Method Detail |
---|
public void avatarIsLoaded(java.lang.String avatar)
null
, indicating an unsuccessful load operation.
Posts a loaded-ok or load-failed event to this handler's target,
and checks the resulting acknowledgement.
avatarIsLoaded
in interface player.AvatarEventHandler
public void avatarIsUnloaded(java.lang.String avatar)
avatarIsUnloaded
in interface player.AvatarEventHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |