|
|||||||||
| 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
public abstract class EntrySprite
Represents a scene entry.
| Field Summary | |
|---|---|
protected boolean |
_selected
Whether or not the sprite is selected. |
protected static Color4f |
SELECTED_COLOR
The color to use when rendering the footprints of selected sprites. |
| Fields inherited from class com.threerings.tudey.client.sprite.Sprite |
|---|
_ctx, _view |
| Fields inherited from class com.threerings.expr.SimpleScope |
|---|
_parentScope |
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
EntrySprite(TudeyContext ctx,
TudeySceneView view)
Creates a new entry sprite. |
|
| Method Summary | |
|---|---|
abstract TudeySceneModel.Entry |
getEntry()
Returns a reference to the most recently set entry state. |
boolean |
isSelected()
Checks whether this sprite is selected. |
void |
setSelected(boolean selected)
Sets whether or not this sprite is selected. |
abstract void |
update(TudeySceneModel.Entry entry)
Updates the sprite with new entry state. |
| Methods inherited from class com.threerings.tudey.client.sprite.Sprite |
|---|
createTooltipComponent, dispatchEvent, getFloorFlags, getFloorMask, getModel, getScopeName, getTooltipText, getTooltipTimeout, getTooltipWindowStyle, isClickable, isHoverable, setVisible |
| Methods inherited from class com.threerings.expr.SimpleScope |
|---|
addListener, dispose, get, getParentScope, removeListener, scopeUpdated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean _selected
protected static final Color4f SELECTED_COLOR
| Constructor Detail |
|---|
public EntrySprite(TudeyContext ctx,
TudeySceneView view)
| Method Detail |
|---|
public abstract TudeySceneModel.Entry getEntry()
public abstract void update(TudeySceneModel.Entry entry)
public void setSelected(boolean selected)
public boolean isSelected()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||