|
||||||||||
| 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.PlaceableSprite.Implementation
public abstract static class PlaceableSprite.Implementation
The actual sprite implementation.
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
PlaceableSprite.Implementation(Scope parentScope)
Creates a new implementation. |
|
| Method Summary | |
|---|---|
Component |
createTooltipComponent(String tiptext)
Creates a tooltip component for the implementation (will only be called if getTooltipText() returns true). |
boolean |
dispatchEvent(Event event)
Dispatches an event on the implementation. |
int |
getFloorFlags()
Returns the sprite's floor flags. |
Model |
getModel()
Returns the model for this implementation, or null for none. |
String |
getScopeName()
Returns the name of this scope for purposes of qualification. |
String |
getTooltipText()
Returns the implementation's tooltip text, or null for none. |
float |
getTooltipTimeout()
Returns the implementation's tooltip timeout, or -1 to use the default. |
String |
getTooltipWindowStyle()
Returns the implementation's tooltip window style. |
boolean |
isClickable()
Determines whether the implementation is clickable. |
boolean |
isHoverable()
Determines whether the implementation is hoverable. |
void |
update(TudeySceneModel.PlaceableEntry entry)
Updates the implementation to match the entry state. |
| Methods inherited from class com.threerings.expr.SimpleScope |
|---|
addListener, dispose, get, getParentScope, removeListener, scopeUpdated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlaceableSprite.Implementation(Scope parentScope)
| Method Detail |
|---|
public Model getModel()
null for none.
public int getFloorFlags()
public boolean isHoverable()
public boolean isClickable()
public String getTooltipText()
null for none.
public float getTooltipTimeout()
public String getTooltipWindowStyle()
public Component createTooltipComponent(String tiptext)
getTooltipText() returns true).
public boolean dispatchEvent(Event event)
public void update(TudeySceneModel.PlaceableEntry entry)
public String getScopeName()
Scopenull
if qualified symbols cannot specifically address this scope.
getScopeName in interface ScopegetScopeName in class SimpleScope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||