rasmus.interpreter
Class RDouble

java.lang.Object
  extended by rasmus.interpreter.RVariablePartImpl
      extended by rasmus.interpreter.RDouble
All Implemented Interfaces:
RDoubleListener, RVariablePart

public final class RDouble
extends RVariablePartImpl
implements RDoubleListener


Field Summary
 RListenerList listeners
           
 
Fields inherited from class rasmus.interpreter.RVariablePartImpl
variable
 
Constructor Summary
RDouble()
           
RDouble(boolean immutable)
           
 
Method Summary
 void add(RVariable variable)
           
 void addListener(RDoubleListener listener)
           
static double asDouble(RVariable variable)
           
static RVariable asVariable(double value)
           
 void clear()
           
 double getDouble()
           
static RDouble getInstance(RVariable variable)
           
 boolean isImmutable()
           
 void remove(RVariable variable)
           
 void removeListener(RDoubleListener listener)
           
 void sendValueChanged(double before, double after)
           
 void valueChanged(RDouble source, double before, double after)
           
 
Methods inherited from class rasmus.interpreter.RVariablePartImpl
getVariable, init
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listeners

public RListenerList listeners
Constructor Detail

RDouble

public RDouble()

RDouble

public RDouble(boolean immutable)
Method Detail

isImmutable

public boolean isImmutable()

asVariable

public static RVariable asVariable(double value)

asDouble

public static double asDouble(RVariable variable)

getInstance

public static RDouble getInstance(RVariable variable)

getDouble

public double getDouble()

add

public void add(RVariable variable)
Specified by:
add in interface RVariablePart

remove

public void remove(RVariable variable)
Specified by:
remove in interface RVariablePart

clear

public void clear()
Specified by:
clear in interface RVariablePart

valueChanged

public void valueChanged(RDouble source,
                         double before,
                         double after)
Specified by:
valueChanged in interface RDoubleListener

sendValueChanged

public void sendValueChanged(double before,
                             double after)

addListener

public void addListener(RDoubleListener listener)

removeListener

public void removeListener(RDoubleListener listener)