|
||||||||||
| 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.PathSprite.Implementation
com.threerings.tudey.client.sprite.PathSprite.Original
public static class PathSprite.Original
An original implementation.
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
PathSprite.Original(TudeyContext ctx,
Scope parentScope,
PathConfig.Original config)
Creates a new implementation. |
|
| Method Summary | |
|---|---|
void |
dispose()
Releases the resources associated with this scope. |
int |
getEdgeIndex(Model model)
Returns the index of the specified model within the list of edge models, or -1 if it is not an edge. |
int |
getVertexIndex(Model model)
Returns the index of the specified model within the list of vertex models, or -1 if it is not a vertex. |
void |
setConfig(PathConfig.Original config)
(Re)configures the implementation. |
void |
setVisible(boolean visible)
Update the visibility. |
void |
update(TudeySceneModel.PathEntry entry)
Updates the implementation to match the path state. |
| Methods inherited from class com.threerings.tudey.client.sprite.PathSprite.Implementation |
|---|
getScopeName |
| 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 PathSprite.Original(TudeyContext ctx,
Scope parentScope,
PathConfig.Original config)
| Method Detail |
|---|
public void setConfig(PathConfig.Original config)
public int getVertexIndex(Model model)
PathSprite.Implementation
getVertexIndex in class PathSprite.Implementationpublic int getEdgeIndex(Model model)
PathSprite.Implementation
getEdgeIndex in class PathSprite.Implementationpublic void update(TudeySceneModel.PathEntry entry)
PathSprite.Implementation
update in class PathSprite.Implementationpublic void setVisible(boolean visible)
PathSprite.Implementation
setVisible in class PathSprite.Implementationpublic void dispose()
SimpleScope
dispose in class SimpleScope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||