|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.ActionImpl
visad.formula.FormulaVar
Represents a variable.
| Field Summary | |
static RealType |
CONSTANT
constant tag |
static boolean |
DEBUG
for testing purposes |
(package private) String |
name
name of this variable |
(package private) RemoteCellImpl |
rtCell
|
(package private) CellImpl |
textCell
cell for recomputing formula from referenced Text object |
(package private) ThingReference |
textRef
reference to a Text object equal to this variable's formula |
| Constructor Summary | |
(package private) |
FormulaVar(String n,
FormulaManager f)
constructor without specified ThingReference |
(package private) |
FormulaVar(String n,
FormulaManager f,
ThingReference t)
constructor with specified ThingReference |
| Method Summary | |
(package private) void |
clearErrors()
clear the list of errors that have occurred during formula evaluation |
void |
doAction()
recompute this variable |
(package private) String[] |
getErrors()
get an array of Strings representing any errors that have occurred during formula evaluation |
(package private) String |
getFormula()
get the formula for this variable |
(package private) ThingReference |
getReference()
get the ThingReference for this variable |
(package private) Thing |
getThing()
get the Thing for this variable |
(package private) boolean |
isDependentOn(FormulaVar v)
return whether this variable depends on v |
(package private) boolean |
othersDepend()
return whether any other variables depend on this one |
(package private) void |
setFormula(String f)
set the formula for this variable |
(package private) void |
setReference(ThingReference tr)
set the ThingReference for this variable |
(package private) void |
setTextRef(ThingReference tr)
set the formula to be dependent on a Text object referenced by tr |
(package private) void |
setThing(Thing t)
set the Thing for this variable directly |
(package private) void |
waitForFormula()
waits for this formula to recompute |
| Methods inherited from class visad.ActionImpl |
addReference, checkTicks, disableAction, enableAction, findReference, getCurrentActionThread, getLinks, getName, removeAllReferences, removeReference, run, setEnabled, setName, setThreadPoolMaximum, stop, stopThreadPool, thingChanged, waitForTasks |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static boolean DEBUG
public static RealType CONSTANT
String name
ThingReference textRef
CellImpl textCell
RemoteCellImpl rtCell
| Constructor Detail |
FormulaVar(String n,
FormulaManager f)
throws VisADException
FormulaVar(String n,
FormulaManager f,
ThingReference t)
throws VisADException
| Method Detail |
boolean othersDepend()
boolean isDependentOn(FormulaVar v)
void setFormula(String f)
throws FormulaException
FormulaExceptionvoid waitForFormula()
void setTextRef(ThingReference tr)
throws VisADException,
RemoteException
VisADException
RemoteException
void setThing(Thing t)
throws VisADException,
RemoteException
VisADException
RemoteExceptionvoid setReference(ThingReference tr)
Thing getThing()
ThingReference getReference()
String getFormula()
String[] getErrors()
void clearErrors()
public void doAction()
doAction in class ActionImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||