public class ScanController1D
extends java.lang.Object
Constructor and Description |
---|
ScanController1D(java.lang.String title)
Constructor for the ScanController1D object
|
Modifier and Type | Method and Description |
---|---|
void |
addMeasuredValue(MeasuredValue mv)
Adds a feature to the MeasuredValue attribute of the ScanController1D
object
|
void |
addNewPointOfDataListener(java.awt.event.ActionListener newPointListener)
Adds a feature to the NewPointOfDataListener attribute of the
ScanController1D object
|
void |
addNewSetOfDataListener(java.awt.event.ActionListener newSetListener)
Adds a feature to the NewSetOfDataListener attribute of the
ScanController1D object
|
void |
addResumeListener(java.awt.event.ActionListener newResumeListener)
Adds a new listener to the resume listeners.
|
void |
addStartListener(java.awt.event.ActionListener newStartListener)
Adds a new listener to the start listeners.
|
void |
addStopListener(java.awt.event.ActionListener newStopListener)
Adds a new listener to the stop listeners.
|
void |
addValidationValue(MeasuredValue mv)
Adds a feature to the ValidationValue attribute of the ScanController1D
object
|
Channel |
getBeamTriggerChannel()
Returns the beamTriggerChannel attribute of the ScanController1D object
|
java.lang.String |
getBeamTriggerChannelName()
Returns the beamTriggerChannelName attribute of the ScanController1D
object
|
double |
getBeamTriggerDelay()
Returns the beamTriggerDelay attribute of the ScanController1D object
|
boolean |
getBeamTriggerState()
Returns the beamTriggerState attribute of the ScanController1D object
|
javax.swing.JPanel |
getJPanel()
Returns the jPanel attribute of the ScanController1D object
|
double |
getLowLimit()
Returns the lowLimit attribute of the ScanController1D object
|
java.util.Vector<MeasuredValue> |
getMeasuredValuesV()
Returns the measuredValuesV attribute of the ScanController1D object
|
javax.swing.JTextField |
getMessageText()
Returns the messageText attribute of the ScanController1D object
|
boolean |
getPhaseScanButtonOn()
Returns the phase scan button state on or off
|
boolean |
getPhaseScanButtonVizible()
Returns true if the phase scan button is visible and false otherwise
|
javax.swing.JLabel |
getScanStep_Label()
Returns the scanStep_Label attribute of the ScanController1D object
|
double |
getScanValue()
Returns the scanValue attribute of the ScanController1D object
|
ScanVariable |
getScanVariable()
Returns the scanVariable attribute of the ScanController1D object
|
double |
getSleepTime()
Returns the sleepTime attribute of the ScanController1D object
|
double |
getStep()
Returns the step attribute of the ScanController1D object
|
java.lang.String |
getTitle()
Returns the title attribute of the ScanController1D object
|
javax.swing.JLabel |
getUnitsLabel()
Returns the unitsLabel attribute of the ScanController1D object
|
double |
getUppLimit()
Returns the uppLimit attribute of the ScanController1D object
|
java.util.Vector<MeasuredValue> |
getValidationValuesV()
Returns the validationValuesV attribute of the ScanController1D object
|
javax.swing.JLabel |
getValueRB_Label()
Returns the valueRB_Label attribute of the ScanController1D object
|
javax.swing.JTextField |
getValueText()
Returns the valueText attribute of the ScanController1D object
|
javax.swing.JTextField |
getValueTextRB()
Returns the valueTextRB attribute of the ScanController1D object
|
boolean |
isContinueON()
Returns the continueON attribute of the ScanController1D object
|
boolean |
isScanON()
Returns the scanON attribute of the ScanController1D object
|
static void |
main(java.lang.String[] args)
Description of the Method
|
void |
measure()
Description of the Method
|
void |
removeAllMeasuredValues()
Description of the Method
|
void |
removeAllNewPointOfDataListeners()
Description of the Method
|
void |
removeAllNewSetOfDataListeners()
Description of the Method
|
void |
removeAllResumeListeners()
Removes all resume listeners.
|
void |
removeAllStartListeners()
Removes all start listeners.
|
void |
removeAllStopListeners()
Removes all stop listeners.
|
void |
removeAllValidationValues()
Description of the Method
|
void |
removeMeasuredValue(MeasuredValue mv)
Description of the Method
|
void |
removeResumeListener(java.awt.event.ActionListener resumeListener)
Removes the listener from the resume listeners.
|
void |
removeStartListener(java.awt.event.ActionListener startListener)
Removes the listener from the start listeners.
|
void |
removeStopListener(java.awt.event.ActionListener stopListener)
Removes the listener from the stop listeners.
|
void |
removeValidationValue(MeasuredValue mv)
Description of the Method
|
boolean |
resumeScan()
Resumes scan
|
void |
setAvgController(AvgController avgController)
Sets the avgController attribute of the ScanController1D object
|
void |
setBeamTriggerChannel(Channel triggerCh)
Sets the beamTriggerChannel attribute of the ScanController1D object
|
void |
setBeamTriggerChannelName(java.lang.String triggerChName)
Sets the beamTriggerChannelName attribute of the ScanController1D object
|
void |
setBeamTriggerDelay(double triggerDelay)
Sets the beamTriggerDelay attribute of the ScanController1D object
|
void |
setBeamTriggerState(boolean triggerOn)
Sets the beamTriggerState attribute of the ScanController1D object
|
void |
setCurrentValue(double scanValue)
Sets the currentValue attribute of the ScanController1D object
|
void |
setCurrentValueRB(double scanValueRB)
Sets the currentValueRB attribute of the ScanController1D object
|
void |
setFontForAll(java.awt.Font fnt)
Sets the fontForAll attribute of the ScanController1D object
|
void |
setLowLimit(double lowLim)
Sets the lowLimit attribute of the ScanController1D object
|
void |
setPhaseScanButtonOn(boolean onOff)
Sets the state of the phase scan button
|
void |
setPhaseScanButtonVisible(boolean vis)
Shows or removes the phase scan button on the pannel
|
void |
setRestoreButton(javax.swing.JCheckBox restoreValueAfterScanButton)
Sets the restoreButton button of the ScanController1D object
|
void |
setScanVariable(ScanVariable scanVariable)
Sets the scanVariable attribute of the ScanController1D object
|
void |
setSleepTime(double sleepTimeIn)
Sets the sleepTime attribute of the ScanController1D object
|
void |
setStep(double step)
Sets the step attribute of the ScanController1D object
|
void |
setTitle(java.lang.String title)
Sets the title attribute of the ScanController1D object
|
void |
setUppLimit(double uppLim)
Sets the uppLimit attribute of the ScanController1D object
|
void |
setValidationController(ValidationController validationController)
Sets the validationController attribute of the ScanController1D object
|
boolean |
startScan()
Starts scan
|
boolean |
stopScan()
Stops scan
|
public ScanController1D(java.lang.String title)
title
- Description of the Parameterpublic void setRestoreButton(javax.swing.JCheckBox restoreValueAfterScanButton)
restoreValueAfterScanButton
- The JCheckBox buttonpublic void setFontForAll(java.awt.Font fnt)
fnt
- The new fontForAll valuepublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- The new title valuepublic javax.swing.JPanel getJPanel()
public boolean isScanON()
public boolean isContinueON()
public void setScanVariable(ScanVariable scanVariable)
scanVariable
- The new scanVariable valuepublic void setAvgController(AvgController avgController)
avgController
- The new avgController valuepublic void setValidationController(ValidationController validationController)
validationController
- The new validationController valuepublic void setCurrentValue(double scanValue)
scanValue
- The new currentValue valuepublic void setCurrentValueRB(double scanValueRB)
scanValueRB
- The new currentValueRB valuepublic void setLowLimit(double lowLim)
lowLim
- The new lowLimit valuepublic void setUppLimit(double uppLim)
uppLim
- The new uppLimit valuepublic void setStep(double step)
step
- The new step valuepublic double getLowLimit()
public double getUppLimit()
public double getStep()
public void setSleepTime(double sleepTimeIn)
sleepTimeIn
- The new sleepTime valuepublic double getSleepTime()
public ScanVariable getScanVariable()
public double getScanValue()
public void addMeasuredValue(MeasuredValue mv)
mv
- The feature to be added to the MeasuredValue attributepublic java.util.Vector<MeasuredValue> getMeasuredValuesV()
public void removeMeasuredValue(MeasuredValue mv)
mv
- Description of the Parameterpublic void removeAllMeasuredValues()
public void addValidationValue(MeasuredValue mv)
mv
- The feature to be added to the ValidationValue attributepublic java.util.Vector<MeasuredValue> getValidationValuesV()
public void removeValidationValue(MeasuredValue mv)
mv
- Description of the Parameterpublic void removeAllValidationValues()
public void addNewSetOfDataListener(java.awt.event.ActionListener newSetListener)
newSetListener
- The feature to be added to the NewSetOfDataListener
attributepublic void addNewPointOfDataListener(java.awt.event.ActionListener newPointListener)
newPointListener
- The feature to be added to the
NewPointOfDataListener attributepublic void removeAllNewSetOfDataListeners()
public void removeAllNewPointOfDataListeners()
public void addStartListener(java.awt.event.ActionListener newStartListener)
newStartListener
- New listenerpublic void removeStartListener(java.awt.event.ActionListener startListener)
startListener
- The listenerpublic void removeAllStartListeners()
public void addStopListener(java.awt.event.ActionListener newStopListener)
newStopListener
- New listenerpublic void removeStopListener(java.awt.event.ActionListener stopListener)
stopListener
- The listenerpublic void removeAllStopListeners()
public void addResumeListener(java.awt.event.ActionListener newResumeListener)
newResumeListener
- New listenerpublic void removeResumeListener(java.awt.event.ActionListener resumeListener)
resumeListener
- The listenerpublic void removeAllResumeListeners()
public boolean startScan()
public boolean resumeScan()
public boolean stopScan()
public void setBeamTriggerState(boolean triggerOn)
triggerOn
- The new beamTriggerState valuepublic void setBeamTriggerDelay(double triggerDelay)
triggerDelay
- The new beamTriggerDelay valuepublic boolean getBeamTriggerState()
public double getBeamTriggerDelay()
public void setBeamTriggerChannel(Channel triggerCh)
triggerCh
- The new beamTriggerChannel valuepublic void setBeamTriggerChannelName(java.lang.String triggerChName)
triggerChName
- The new beamTriggerChannelName valuepublic Channel getBeamTriggerChannel()
public java.lang.String getBeamTriggerChannelName()
public void measure()
public void setPhaseScanButtonVisible(boolean vis)
vis
- The new phaseScanButtonVisible valuepublic boolean getPhaseScanButtonVizible()
public boolean getPhaseScanButtonOn()
public void setPhaseScanButtonOn(boolean onOff)
onOff
- The new phase scan button valuepublic javax.swing.JLabel getValueRB_Label()
public javax.swing.JLabel getScanStep_Label()
public javax.swing.JLabel getUnitsLabel()
public javax.swing.JTextField getValueText()
public javax.swing.JTextField getValueTextRB()
public javax.swing.JTextField getMessageText()
public static void main(java.lang.String[] args)
args
- Description of the Parameter