|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.freehep.jas.extension.tupleExplorer.cut.AbstractCutVariable
public abstract class AbstractCutVariable
AbstractCutVariable the abstract implementation of CutVariable
Field Summary |
---|
Fields inherited from interface org.freehep.jas.extension.tupleExplorer.cut.CutVariable |
---|
CUTVARIABLE_LOCKED, CUTVARIABLE_UNLOCKED |
Constructor Summary | |
---|---|
AbstractCutVariable(String cutVarName)
Create a new AbstractCutVariable object |
|
AbstractCutVariable(String cutVarName,
CutDataSet cutDataSet)
Create a new AbstractCutVariable object |
Method Summary | |
---|---|
void |
addCutVariableListener(CutVariableListener cutVarListener)
Add a CutVariableListener to the CutVariable |
CutDataSet |
getCutDataSet()
Get the CutDataSet corresponding to this CutVariable |
CutVariableListener |
getCutVariableGUIListener()
Get the CutVariableGUIListener that listens to the GUI representations of the CutVariable. |
double |
getMax()
Get the upper bound of the range |
double |
getMin()
Get the lower bound of the range |
String |
getName()
Get the name of the CutVariable |
int |
getState()
Get the state of the CutVariable |
double |
getValue()
Get the current value of the CutVariable. |
double |
getValueChange()
Get the CutVariable change in its value |
boolean |
isLocked()
Check if the CutVariable is locked |
void |
removeCutVariableListener(CutVariableListener cutVarListener)
Remove a CutVariableListener from the CutVariable |
void |
setCutDataSet(CutDataSet cutDataSet)
Assign to this CutVariable a CutDataSet. |
void |
setMax(double upperBound)
Set the upper bound of the range |
void |
setMin(double lowerBound)
Set the lower bound of the range |
void |
setName(String cutVarName)
Set the name of the CutVariable |
void |
setRange(double lowerBound,
double upperBound)
Set the CutVariable range. |
void |
setState(int cutVarState)
Set the state of the CutVariable |
void |
setValue(double cutVarValue)
Set the current value of the AbstrctCutVariable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCutVariable(String cutVarName)
cutVarName
- the name of the cut variablepublic AbstractCutVariable(String cutVarName, CutDataSet cutDataSet)
cutVarName
- the name of the cut variablecutDataSet
- the CutDataSet data setMethod Detail |
---|
public void setName(String cutVarName)
cutVarName
- the name of the CutVariablepublic String getName()
getName
in interface CutVariable
public void setRange(double lowerBound, double upperBound)
lowerBound
- the lower bound of the rangeupperBound
- the upper bound of the rangepublic double getMin()
getMin
in interface CutVariable
public double getMax()
getMax
in interface CutVariable
public void setMin(double lowerBound)
lowerBound
- the lower bound of the rangepublic void setMax(double upperBound)
upperBound
- the upper bound of the rangepublic void setState(int cutVarState)
setState
in interface CutVariable
cutVarState
- the state of the CutVariablepublic int getState()
getState
in interface CutVariable
public boolean isLocked()
isLocked
in interface CutVariable
true<\code> if the variable is locked
false<\code> otherwise
public void setValue(double cutVarValue)
setValue
in interface CutVariable
cutVarValue
- the current value of the CutVariablepublic double getValue()
getValue
in interface CutVariable
public double getValueChange()
getValueChange
in interface CutVariable
public void setCutDataSet(CutDataSet cutDataSet)
setCutDataSet
in interface CutVariable
cutDataSet
- the CutDataSet data setpublic CutDataSet getCutDataSet()
getCutDataSet
in interface CutVariable
public void addCutVariableListener(CutVariableListener cutVarListener)
addCutVariableListener
in interface CutVariable
cutVarListener
- the CutVariableListenere to addpublic void removeCutVariableListener(CutVariableListener cutVarListener)
removeCutVariableListener
in interface CutVariable
cutVarListener
- the CutVariableListenere to removepublic CutVariableListener getCutVariableGUIListener()
getCutVariableGUIListener
in interface CutVariable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |