com.threerings.expr
Class ExpressionDefinition.IntegerDefinition

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

public static class ExpressionDefinition.IntegerDefinition
extends ExpressionDefinition

Defines an integer 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
 IntegerExpression expression
          The expression that determines the value.
 
Fields inherited from class com.threerings.expr.ExpressionDefinition
name
 
Constructor Summary
ExpressionDefinition.IntegerDefinition()
           
 
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 IntegerExpression expression
The expression that determines the value.

Constructor Detail

ExpressionDefinition.IntegerDefinition

public ExpressionDefinition.IntegerDefinition()
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.