sleep.runtime
Class WatchScalar

java.lang.Object
  extended by sleep.runtime.Scalar
      extended by sleep.runtime.WatchScalar
All Implemented Interfaces:
java.io.Serializable

public class WatchScalar
extends Scalar

See Also:
Serialized Form

Field Summary
protected  java.lang.String name
           
protected  ScriptEnvironment owner
           
 
Fields inherited from class sleep.runtime.Scalar
array, hash, value
 
Constructor Summary
WatchScalar(java.lang.String _name, ScriptEnvironment _owner)
           
 
Method Summary
 void flagChange(Scalar valuez)
           
 void setValue(ScalarArray _array)
          set the value of this scalar container to a scalar array
 void setValue(ScalarHash _hash)
          set the value of this scalar container to a scalar hash
 void setValue(ScalarType _value)
          set the value of this scalar container to a scalar value of some type
 
Methods inherited from class sleep.runtime.Scalar
doubleValue, getActualValue, getArray, getHash, getValue, identity, intValue, longValue, objectValue, sameAs, setValue, stringValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

owner

protected ScriptEnvironment owner

name

protected java.lang.String name
Constructor Detail

WatchScalar

public WatchScalar(java.lang.String _name,
                   ScriptEnvironment _owner)
Method Detail

flagChange

public void flagChange(Scalar valuez)

setValue

public void setValue(ScalarType _value)
set the value of this scalar container to a scalar value of some type

Overrides:
setValue in class Scalar

setValue

public void setValue(ScalarArray _array)
set the value of this scalar container to a scalar array

Overrides:
setValue in class Scalar

setValue

public void setValue(ScalarHash _hash)
set the value of this scalar container to a scalar hash

Overrides:
setValue in class Scalar