org.jscience.ml.mathml.beans
Class VariableBean

java.lang.Object
  extended by org.jscience.ml.mathml.beans.VariableBean
All Implemented Interfaces:
java.io.Serializable

public final class VariableBean
extends java.lang.Object
implements java.io.Serializable

DOCUMENT ME!

See Also:
Serialized Form

Constructor Summary
VariableBean()
          Creates a new VariableBean object.
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
          DOCUMENT ME!
 void addVariableListener(VariableListener l)
          DOCUMENT ME!
 double getValueAsNumber()
          DOCUMENT ME!
 java.lang.String getVariable()
          DOCUMENT ME!
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
          DOCUMENT ME!
 void removeVariableListener(VariableListener l)
          DOCUMENT ME!
 void setValueAsMatrix(double[][] m)
          DOCUMENT ME!
 void setValueAsNumber(double x)
          DOCUMENT ME!
 void setValueAsVector(double[] v)
          DOCUMENT ME!
 void setVariable(java.lang.String var)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableBean

public VariableBean()
Creates a new VariableBean object.

Method Detail

setVariable

public void setVariable(java.lang.String var)
DOCUMENT ME!

Parameters:
var - DOCUMENT ME!

getVariable

public java.lang.String getVariable()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setValueAsNumber

public void setValueAsNumber(double x)
DOCUMENT ME!

Parameters:
x - DOCUMENT ME!

getValueAsNumber

public double getValueAsNumber()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setValueAsVector

public void setValueAsVector(double[] v)
DOCUMENT ME!

Parameters:
v - DOCUMENT ME!

setValueAsMatrix

public void setValueAsMatrix(double[][] m)
DOCUMENT ME!

Parameters:
m - DOCUMENT ME!

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
DOCUMENT ME!

Parameters:
l - DOCUMENT ME!

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
DOCUMENT ME!

Parameters:
l - DOCUMENT ME!

addVariableListener

public void addVariableListener(VariableListener l)
DOCUMENT ME!

Parameters:
l - DOCUMENT ME!

removeVariableListener

public void removeVariableListener(VariableListener l)
DOCUMENT ME!

Parameters:
l - DOCUMENT ME!