|
|||||||||
| 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.cursor.Cursor
com.threerings.tudey.client.cursor.SelectionCursor
public class SelectionCursor
A cursor for a selection.
| Field Summary | |
|---|---|
protected ArrayList<EntryCursor> |
_cursors
The contained cursors. |
protected HashMap<Object,EntryCursor> |
_cursorsByKey
Maps entry keys to cursors. |
protected Compound |
_shape
The shape of the cursor. |
protected ArrayList<Shape> |
_shapes
Holds the component shapes when updating. |
| Fields inherited from class com.threerings.tudey.client.cursor.Cursor |
|---|
_ctx |
| Fields inherited from class com.threerings.expr.SimpleScope |
|---|
_parentScope |
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
SelectionCursor(TudeyContext ctx,
TudeySceneView view)
Creates the cursor. |
|
| Method Summary | |
|---|---|
void |
composite()
Adds this object's Dependencys and Enqueueables to the compositor in
preparation for rendering. |
protected static boolean |
containsKey(TudeySceneModel.Entry[] entries,
Object key)
Determines whether the supplied array of entries contains an entry with the specified key. |
Compound |
getShape()
Returns a reference to the shape of the cursor. |
void |
tick(float elapsed)
Updates the state of this object based on the elapsed time in seconds. |
void |
update(TudeySceneModel.Entry[] entries)
Updates the cursor with new entry state. |
| Methods inherited from class com.threerings.tudey.client.cursor.Cursor |
|---|
getScopeName |
| 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 ArrayList<EntryCursor> _cursors
protected HashMap<Object,EntryCursor> _cursorsByKey
protected Compound _shape
protected ArrayList<Shape> _shapes
| Constructor Detail |
|---|
public SelectionCursor(TudeyContext ctx,
TudeySceneView view)
| Method Detail |
|---|
public Compound getShape()
public void update(TudeySceneModel.Entry[] entries)
public void tick(float elapsed)
Tickable
tick in interface Tickabletick in class Cursorpublic void composite()
CompositableDependencys and Enqueueables to the compositor in
preparation for rendering.
composite in interface Compositablecomposite in class Cursor
protected static boolean containsKey(TudeySceneModel.Entry[] entries,
Object key)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||