|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CutVariable
A CutVariable is a variable of a Cut
Nested Class Summary | |
---|---|
static class |
CutVariable.CutVariableGUIListener
Internal class that implements the behavior of CutVariableListener. |
Field Summary | |
---|---|
static int |
CUTVARIABLE_LOCKED
|
static int |
CUTVARIABLE_UNLOCKED
The CutVariable can be either locked or unlocked. |
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 |
setState(int cutVarState)
Set the state of the CutVariable |
void |
setValue(double cutVarValue)
Set the current value of the CutVariable. |
Field Detail |
---|
static final int CUTVARIABLE_UNLOCKED
static final int CUTVARIABLE_LOCKED
Method Detail |
---|
String getName()
double getMin()
double getMax()
int getState()
void setState(int cutVarState)
cutVarState
- the state of the CutVariableboolean isLocked()
true<\code> if the variable is locked
false<\code> otherwise
double getValue()
void setValue(double cutVarValue)
cutVarValue
- the current value of the CutVariabledouble getValueChange()
void addCutVariableListener(CutVariableListener cutVarListener)
cutVarListener
- the CutVariableListenere to addvoid removeCutVariableListener(CutVariableListener cutVarListener)
cutVarListener
- the CutVariableListenere to removevoid setCutDataSet(CutDataSet cutDataSet)
cutDataSet
- the CutDataSet data setCutDataSet getCutDataSet()
CutVariableListener getCutVariableGUIListener()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |