shout3d.core
Class BooleanEventToCurrentTime

java.lang.Object
  |
  +--shout3d.core.Node
        |
        +--shout3d.core.BooleanEventToCurrentTime

public class BooleanEventToCurrentTime
extends Node
implements FieldObserver

BooleanEventToCurrentTime.


Field Summary
 BooleanField booleanField
           
 DoubleField currentTime
           
 BooleanField falseFilter
           
 BooleanField trueFilter
           
 
Constructor Summary
BooleanEventToCurrentTime()
          Constructs a default DoubleToBoolean
 
Method Summary
 void onFieldChange(Field theField, java.lang.Object userData)
          This sets the currentTime field to the current time, which serves to push this value out along any connected route(s).
 
Methods inherited from class shout3d.core.Node
cleanUp, getDEFName, getField, getFieldByIndex, getFieldName, getNumFields, getTypeName, getViewer, isOfType, setDEFName, setViewer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentTime

public final DoubleField currentTime

booleanField

public final BooleanField booleanField

trueFilter

public final BooleanField trueFilter

falseFilter

public final BooleanField falseFilter
Constructor Detail

BooleanEventToCurrentTime

public BooleanEventToCurrentTime()
Constructs a default DoubleToBoolean
Method Detail

onFieldChange

public void onFieldChange(Field theField,
                          java.lang.Object userData)
This sets the currentTime field to the current time, which serves to push this value out along any connected route(s). The field is set when any of the following occurs: [1] any value is set on the booleanField [2] the trueFilter field is set to true [3] the falseFilter field is set to false Subclasses must call this from within their own onFieldChange() method.
Specified by:
onFieldChange in interface FieldObserver