|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.webcompmath.data.Constant net.sourceforge.webcompmath.data.Variable net.sourceforge.webcompmath.data.beans.WCMVariableBean
public class WCMVariableBean
This class is for use with GUI builders. It currently does nothing.
Field Summary |
---|
Fields inherited from class net.sourceforge.webcompmath.data.Constant |
---|
value |
Constructor Summary | |
---|---|
WCMVariableBean()
Default constructor. |
|
WCMVariableBean(java.lang.String name)
Create a variable with the given name. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Just pass through to the support class |
MathObject |
getMathObject()
Just returns itself. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
just pass through to the support class ) |
void |
setName(java.lang.String name)
Fire a property change event if the name changes. |
Methods inherited from class net.sourceforge.webcompmath.data.Variable |
---|
compileDerivative, dependsOn, derivative, setVal, toString |
Methods inherited from class net.sourceforge.webcompmath.data.Constant |
---|
appendOutputString, apply, extent, getName, getVal, getValueWithCases |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sourceforge.webcompmath.data.MathObject |
---|
getName |
Constructor Detail |
---|
public WCMVariableBean()
public WCMVariableBean(java.lang.String name)
name
- Method Detail |
---|
public MathObject getMathObject()
getMathObject
in interface ParserMathObject
ParserMathObject.getMathObject()
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in interface ParserMathObject
ParserMathObject.addPropertyChangeListener(java.beans.PropertyChangeListener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in interface ParserMathObject
ParserMathObject.removePropertyChangeListener(java.beans.PropertyChangeListener)
public void setName(java.lang.String name)
setName
in interface MathObject
setName
in class Constant
name
- name of the constantConstant.setName(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |