com.threerings.expr
Class ExpressionDefinition.StringDefinition

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.expr.ExpressionDefinition
          extended by com.threerings.expr.ExpressionDefinition.StringDefinition
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ExpressionDefinition

public static class ExpressionDefinition.StringDefinition
extends ExpressionDefinition

Defines a string variable.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.expr.ExpressionDefinition
ExpressionDefinition.Color4fDefinition, ExpressionDefinition.FloatDefinition, ExpressionDefinition.IntegerDefinition, ExpressionDefinition.StringDefinition, ExpressionDefinition.Transform3DDefinition
 
Field Summary
 StringExpression expression
          The expression that determines the value.
 
Fields inherited from class com.threerings.expr.ExpressionDefinition
name
 
Constructor Summary
ExpressionDefinition.StringDefinition()
           
 
Method Summary
 Object getValue(Scope scope, ArrayList<Updater> updaters)
          Retrieves the value for this definition.
 void invalidate()
          Invalidates any cached data.
 
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

expression

@Editable
public StringExpression expression
The expression that determines the value.

Constructor Detail

ExpressionDefinition.StringDefinition

public ExpressionDefinition.StringDefinition()
Method Detail

getValue

public Object getValue(Scope scope,
                       ArrayList<Updater> updaters)
Description copied from class: ExpressionDefinition
Retrieves the value for this definition.

Specified by:
getValue in class ExpressionDefinition
updaters - the list of updaters to contain the value's updater.

invalidate

public void invalidate()
Description copied from class: ExpressionDefinition
Invalidates any cached data.

Overrides:
invalidate in class ExpressionDefinition


Copyright © 2011. All Rights Reserved.