com.threerings.config
Class BoundConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.config.ManagedConfig
          extended by com.threerings.config.ParameterizedConfig
              extended by com.threerings.config.BoundConfig
All Implemented Interfaces:
ConfigUpdateListener<ManagedConfig>, Exportable, ScopeUpdateListener, com.threerings.resource.ResourceManager.ModificationObserver, Copyable, Cloneable
Direct Known Subclasses:
RenderEffectConfig

public class BoundConfig
extends ParameterizedConfig
implements ScopeUpdateListener

A configuration that may include a number of expressions to be evaluated in the scope in which the configuration is instantiated.


Field Summary
 ExpressionBinding[] bindings
          The config bindings.
 
Fields inherited from class com.threerings.config.ParameterizedConfig
parameters
 
Constructor Summary
BoundConfig()
           
 
Method Summary
 void scopeUpdated(ScopeEvent event)
          Called when the scope has been updated.
 void wasUpdated()
          Notes that this configuration has been updated.
 
Methods inherited from class com.threerings.config.ParameterizedConfig
getInstance, getParameter, getReference, validateOuters, validateReferences
 
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

bindings

@Editable(weight=1.0)
public ExpressionBinding[] bindings
The config bindings.

Constructor Detail

BoundConfig

public BoundConfig()
Method Detail

scopeUpdated

public void scopeUpdated(ScopeEvent event)
Description copied from interface: ScopeUpdateListener
Called when the scope has been updated.

Specified by:
scopeUpdated in interface ScopeUpdateListener

wasUpdated

public void wasUpdated()
Description copied from class: ManagedConfig
Notes that this configuration has been updated.

Overrides:
wasUpdated in class ParameterizedConfig


Copyright © 2011. All Rights Reserved.