|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.freehep.jas.extension.tupleExplorer.cut.CutVariableSynchronization
public class CutVariableSynchronization
CutVariableSynchronization manages the syncronization of variables.
Field Summary | |
---|---|
static int |
SYNCHRONIZED_FIXED
There are three ways in which two variables can be synchronized |
static int |
SYNCHRONIZED_MAXIMUM
|
static int |
SYNCHRONIZED_MINIMUM
|
Constructor Summary | |
---|---|
CutVariableSynchronization()
|
Method Summary | |
---|---|
void |
cutVarRangeChanged(CutChangedEvent cutChangedEvent)
Invoked when the CutVariable range has changed |
void |
cutVarStateChanged(CutChangedEvent cutChangedEvent)
Invoked when the CutVariable state has changed |
void |
cutVarValueChanged(CutChangedEvent cutChangedEvent)
Invoked when the CutVariable has changed the current value |
protected void |
setSyncDiff(double syncDiff)
|
protected void |
setSyncScale(double syncScale)
|
protected void |
setSyncType(int syncType)
|
protected double |
syncDiff()
|
void |
synchronize(CutVariable cutVar1,
CutVariable cutVar2)
Synchronize the following CutVariables. |
protected double |
syncScale()
|
protected int |
syncType()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SYNCHRONIZED_FIXED
public static final int SYNCHRONIZED_MAXIMUM
public static final int SYNCHRONIZED_MINIMUM
Constructor Detail |
---|
public CutVariableSynchronization()
Method Detail |
---|
public void synchronize(CutVariable cutVar1, CutVariable cutVar2)
cutVar1
- the first CutVariable to synchronizecutVar2
- the second CutVariable to synchronizesyncType
- the type of synchronizationsyncScale
- the scale factor of the synchronizationsyncDiff
- the difference at which the two variables are synchronizedpublic void cutVarValueChanged(CutChangedEvent cutChangedEvent)
cutVarValueChanged
in interface CutVariableListener
cutChangedEvent
- the event describing the changepublic void cutVarRangeChanged(CutChangedEvent cutChangedEvent)
cutVarRangeChanged
in interface CutVariableListener
cutChangedEvent
- the event describing the changepublic void cutVarStateChanged(CutChangedEvent cutChangedEvent)
cutVarStateChanged
in interface CutVariableListener
cutChangedEvent
- the event describing the changeprotected double syncDiff()
protected void setSyncDiff(double syncDiff)
protected double syncScale()
protected void setSyncScale(double syncScale)
protected int syncType()
protected void setSyncType(int syncType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |