|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.config.ManagedConfig
com.threerings.config.ParameterizedConfig
com.threerings.tudey.config.PlaceableConfig
public class PlaceableConfig
The configuration of a placeable object.
| Nested Class Summary | |
|---|---|
static class |
PlaceableConfig.ClickableProp
Clickable prop implementation. |
static class |
PlaceableConfig.Derived
A derived implementation. |
static class |
PlaceableConfig.Implementation
Contains the actual implementation of the placeable. |
static class |
PlaceableConfig.Marker
A marker implementation. |
static class |
PlaceableConfig.Original
Superclass of the original implementations. |
static class |
PlaceableConfig.Prop
A prop implementation. |
static class |
PlaceableConfig.StatefulProp
Stateful prop implementation. |
| Field Summary | |
|---|---|
PlaceableConfig.Implementation |
implementation
The actual placeable implementation. |
static PlaceableConfig.Original |
NULL_ORIGINAL
Used when we can't resolve the placeable's underlying original implementation. |
| Fields inherited from class com.threerings.config.ParameterizedConfig |
|---|
parameters |
| Constructor Summary | |
|---|---|
PlaceableConfig()
|
|
| Method Summary | |
|---|---|
PlaceableCursor.Implementation |
getCursorImplementation(TudeyContext ctx,
Scope scope,
PlaceableCursor.Implementation impl)
Creates or updates a cursor implementation for this configuration. |
PlaceableConfig.Original |
getOriginal(ConfigManager cfgmgr)
Returns a reference to the config's underlying original implementation. |
PlaceableSprite.Implementation |
getSpriteImplementation(TudeyContext ctx,
Scope scope,
PlaceableSprite.Implementation impl)
Creates or updates a sprite implementation for this configuration. |
| Methods inherited from class com.threerings.config.ParameterizedConfig |
|---|
getInstance, getParameter, getReference, validateOuters, validateReferences, wasUpdated |
| Methods inherited from class com.threerings.config.ManagedConfig |
|---|
addListener, configUpdated, getConfigManager, getInstance, getInstance, getInstance, getInstance, getName, init, removeListener, resourceModified, setName, updateFromSource |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final PlaceableConfig.Original NULL_ORIGINAL
@Editable public PlaceableConfig.Implementation implementation
| Constructor Detail |
|---|
public PlaceableConfig()
| Method Detail |
|---|
public PlaceableConfig.Original getOriginal(ConfigManager cfgmgr)
public PlaceableCursor.Implementation getCursorImplementation(TudeyContext ctx,
Scope scope,
PlaceableCursor.Implementation impl)
scope - the placeable's expression scope.impl - an existing implementation to reuse, if possible.
null if no implementation could be created.
public PlaceableSprite.Implementation getSpriteImplementation(TudeyContext ctx,
Scope scope,
PlaceableSprite.Implementation impl)
scope - the placeable's expression scope.impl - an existing implementation to reuse, if possible.
null if no implementation could be created.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||