public class SPAAvatarEventHandler
extends java.lang.Object
implements player.AvatarEventHandler
SPAEvent
s which it posts (typically to
the SPA event dispatcher thread) via an event target supplied at
construction time.Constructor and Description |
---|
SPAAvatarEventHandler(SPAEventTarget etarget)
Constructs a new avatar event handler, which will direct the
SPAEvent s it generates to the given target. |
Modifier and Type | Method and Description |
---|---|
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.
|
public SPAAvatarEventHandler(SPAEventTarget etarget)
SPAEvent
s it generates to the given target.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