|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.expr.SimpleScope
com.threerings.tudey.client.sprite.Sprite
com.threerings.tudey.client.sprite.EntrySprite
com.threerings.tudey.client.sprite.GlobalSprite
public class GlobalSprite
Represents a global entry.
| Nested Class Summary | |
|---|---|
static class |
GlobalSprite.Camera
A camera implementation. |
static class |
GlobalSprite.EnvironmentModel
An environment model implementation. |
static class |
GlobalSprite.Implementation
The actual sprite implementation. |
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
GlobalSprite(TudeyContext ctx,
TudeySceneView view,
TudeySceneModel.GlobalEntry entry)
Creates a new global sprite. |
|
| Method Summary | |
|---|---|
void |
configUpdated(ConfigEvent<SceneGlobalConfig> event)
Called when a configuration has been updated. |
void |
dispose()
Releases the resources associated with this scope. |
TudeySceneModel.Entry |
getEntry()
Returns a reference to the most recently set entry state. |
Model |
getModel()
Returns the model associated with the sprite (if any). |
void |
update(TudeySceneModel.Entry entry)
Updates the sprite with new entry state. |
| Methods inherited from class com.threerings.tudey.client.sprite.EntrySprite |
|---|
isSelected, setSelected |
| Methods inherited from class com.threerings.tudey.client.sprite.Sprite |
|---|
createTooltipComponent, dispatchEvent, getFloorFlags, getFloorMask, getScopeName, getTooltipText, getTooltipTimeout, getTooltipWindowStyle, isClickable, isHoverable, setVisible |
| Methods inherited from class com.threerings.expr.SimpleScope |
|---|
addListener, get, getParentScope, removeListener, scopeUpdated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlobalSprite(TudeyContext ctx,
TudeySceneView view,
TudeySceneModel.GlobalEntry entry)
| Method Detail |
|---|
public void configUpdated(ConfigEvent<SceneGlobalConfig> event)
ConfigUpdateListener
configUpdated in interface ConfigUpdateListener<SceneGlobalConfig>public TudeySceneModel.Entry getEntry()
EntrySprite
getEntry in class EntrySpritepublic void update(TudeySceneModel.Entry entry)
EntrySprite
update in class EntrySpritepublic Model getModel()
Sprite
getModel in class Spritepublic void dispose()
SimpleScope
dispose in class SimpleScope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||