|
||||||||||
| 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
public abstract class Sprite
Represents a placeable object.
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
Sprite(TudeyContext ctx,
TudeySceneView view)
Creates a new sprite. |
|
| Method Summary | |
|---|---|
Component |
createTooltipComponent(String tiptext)
Creates a tooltip component for the sprite (will only be called if getTooltipText()
returns true). |
boolean |
dispatchEvent(Event event)
Dispatches an event on the sprite. |
int |
getFloorFlags()
Returns the sprite's floor flags. |
int |
getFloorMask()
Returns the sprite's floor mask. |
Model |
getModel()
Returns the model associated with the sprite (if any). |
String |
getScopeName()
Returns the name of this scope for purposes of qualification. |
String |
getTooltipText()
Returns the sprite's tooltip text, or null for none. |
float |
getTooltipTimeout()
Returns the sprite's tooltip timeout, or -1 to use the default. |
String |
getTooltipWindowStyle()
Returns the sprite's tooltip window style. |
boolean |
isClickable()
Determines whether the sprite is clickable. |
boolean |
isHoverable()
Determines whether the sprite is hoverable (for purposes of in-game user interaction). |
void |
setVisible(boolean visible)
Attempt to set the visibility of this sprite. |
| 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 Sprite(TudeyContext ctx,
TudeySceneView view)
| Method Detail |
|---|
public int getFloorFlags()
public int getFloorMask()
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 Model getModel()
public void setVisible(boolean visible)
public boolean dispatchEvent(Event event)
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 | |||||||||