Package xal.extension.scan
Class ScanController1D
java.lang.Object
xal.extension.scan.ScanController1D
Description of the Class
- Author:
- shishlo created September 30, 2005
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a feature to the MeasuredValue attribute of the ScanController1D objectvoid
addNewPointOfDataListener
(ActionListener newPointListener) Adds a feature to the NewPointOfDataListener attribute of the ScanController1D objectvoid
addNewSetOfDataListener
(ActionListener newSetListener) Adds a feature to the NewSetOfDataListener attribute of the ScanController1D objectvoid
addResumeListener
(ActionListener newResumeListener) Adds a new listener to the resume listeners.void
addStartListener
(ActionListener newStartListener) Adds a new listener to the start listeners.void
addStopListener
(ActionListener newStopListener) Adds a new listener to the stop listeners.void
Adds a feature to the ValidationValue attribute of the ScanController1D objectReturns the beamTriggerChannel attribute of the ScanController1D objectReturns the beamTriggerChannelName attribute of the ScanController1D objectdouble
Returns the beamTriggerDelay attribute of the ScanController1D objectboolean
Returns the beamTriggerState attribute of the ScanController1D objectReturns the jPanel attribute of the ScanController1D objectdouble
Returns the lowLimit attribute of the ScanController1D objectReturns the measuredValuesV attribute of the ScanController1D objectReturns the messageText attribute of the ScanController1D objectboolean
Returns the phase scan button state on or offboolean
Returns true if the phase scan button is visible and false otherwiseReturns the scanStepLabel attribute of the ScanController1D objectdouble
Returns the scanValue attribute of the ScanController1D objectReturns the scanVariable attribute of the ScanController1D objectdouble
Returns the sleepTime attribute of the ScanController1D objectdouble
getStep()
Returns the step attribute of the ScanController1D objectgetTitle()
Returns the title attribute of the ScanController1D objectReturns the unitsLabel attribute of the ScanController1D objectdouble
Returns the uppLimit attribute of the ScanController1D objectReturns the validationValuesV attribute of the ScanController1D objectReturns the valueRBLabel attribute of the ScanController1D objectReturns the valueText attribute of the ScanController1D objectReturns the valueTextRB attribute of the ScanController1D objectboolean
Returns the continueON attribute of the ScanController1D objectboolean
isScanON()
Returns the scanON attribute of the ScanController1D objectstatic void
Description of the Methodvoid
measure()
Description of the Methodvoid
Description of the Methodvoid
Description of the Methodvoid
Description of the Methodvoid
Removes all resume listeners.void
Removes all start listeners.void
Removes all stop listeners.void
Description of the Methodvoid
Description of the Methodvoid
removeResumeListener
(ActionListener resumeListener) Removes the listener from the resume listeners.void
removeStartListener
(ActionListener startListener) Removes the listener from the start listeners.void
removeStopListener
(ActionListener stopListener) Removes the listener from the stop listeners.void
Description of the Methodboolean
Resumes scanvoid
setAvgController
(AvgController avgController) Sets the avgController attribute of the ScanController1D objectvoid
setBeamTriggerChannel
(Channel triggerCh) Sets the beamTriggerChannel attribute of the ScanController1D objectvoid
setBeamTriggerChannelName
(String triggerChName) Sets the beamTriggerChannelName attribute of the ScanController1D objectvoid
setBeamTriggerDelay
(double triggerDelay) Sets the beamTriggerDelay attribute of the ScanController1D objectvoid
setBeamTriggerState
(boolean triggerOn) Sets the beamTriggerState attribute of the ScanController1D objectvoid
setCurrentValue
(double scanValue) Sets the currentValue attribute of the ScanController1D objectvoid
setCurrentValueRB
(double scanValueRB) Sets the currentValueRB attribute of the ScanController1D objectvoid
setFontForAll
(Font fnt) Sets the fontForAll attribute of the ScanController1D objectvoid
setLowLimit
(double lowLim) Sets the lowLimit attribute of the ScanController1D objectvoid
setPhaseScanButtonOn
(boolean onOff) Sets the state of the phase scan buttonvoid
setPhaseScanButtonVisible
(boolean vis) Shows or removes the phase scan button on the panelvoid
setRestoreButton
(JCheckBox restoreValueAfterScanButton) Sets the restoreButton button of the ScanController1D objectvoid
setScanVariable
(ScanVariable scanVariable) Sets the scanVariable attribute of the ScanController1D objectvoid
setSleepTime
(double sleepTimeIn) Sets the sleepTime attribute of the ScanController1D objectvoid
setStep
(double step) Sets the step attribute of the ScanController1D objectvoid
Sets the title attribute of the ScanController1D objectvoid
setUppLimit
(double uppLim) Sets the uppLimit attribute of the ScanController1D objectvoid
setValidationController
(ValidationController validationController) Sets the validationController attribute of the ScanController1D objectboolean
Starts scanboolean
stopScan()
Stops scan
-
Constructor Details
-
ScanController1D
Constructor for the ScanController1D object- Parameters:
title
- Description of the Parameter
-
-
Method Details
-
setRestoreButton
Sets the restoreButton button of the ScanController1D object- Parameters:
restoreValueAfterScanButton
- The JCheckBox button
-
setFontForAll
Sets the fontForAll attribute of the ScanController1D object- Parameters:
fnt
- The new fontForAll value
-
getTitle
Returns the title attribute of the ScanController1D object- Returns:
- The title value
-
setTitle
Sets the title attribute of the ScanController1D object- Parameters:
title
- The new title value
-
getJPanel
Returns the jPanel attribute of the ScanController1D object- Returns:
- The jPanel value
-
isScanON
public boolean isScanON()Returns the scanON attribute of the ScanController1D object- Returns:
- The scanON value
-
isContinueON
public boolean isContinueON()Returns the continueON attribute of the ScanController1D object- Returns:
- The continueON value
-
setScanVariable
Sets the scanVariable attribute of the ScanController1D object- Parameters:
scanVariable
- The new scanVariable value
-
setAvgController
Sets the avgController attribute of the ScanController1D object- Parameters:
avgController
- The new avgController value
-
setValidationController
Sets the validationController attribute of the ScanController1D object- Parameters:
validationController
- The new validationController value
-
setCurrentValue
public void setCurrentValue(double scanValue) Sets the currentValue attribute of the ScanController1D object- Parameters:
scanValue
- The new currentValue value
-
setCurrentValueRB
public void setCurrentValueRB(double scanValueRB) Sets the currentValueRB attribute of the ScanController1D object- Parameters:
scanValueRB
- The new currentValueRB value
-
setLowLimit
public void setLowLimit(double lowLim) Sets the lowLimit attribute of the ScanController1D object- Parameters:
lowLim
- The new lowLimit value
-
setUppLimit
public void setUppLimit(double uppLim) Sets the uppLimit attribute of the ScanController1D object- Parameters:
uppLim
- The new uppLimit value
-
setStep
public void setStep(double step) Sets the step attribute of the ScanController1D object- Parameters:
step
- The new step value
-
getLowLimit
public double getLowLimit()Returns the lowLimit attribute of the ScanController1D object- Returns:
- The lowLimit value
-
getUppLimit
public double getUppLimit()Returns the uppLimit attribute of the ScanController1D object- Returns:
- The uppLimit value
-
getStep
public double getStep()Returns the step attribute of the ScanController1D object- Returns:
- The step value
-
setSleepTime
public void setSleepTime(double sleepTimeIn) Sets the sleepTime attribute of the ScanController1D object- Parameters:
sleepTimeIn
- The new sleepTime value
-
getSleepTime
public double getSleepTime()Returns the sleepTime attribute of the ScanController1D object- Returns:
- The sleepTime value
-
getScanVariable
Returns the scanVariable attribute of the ScanController1D object- Returns:
- The scanVariable value
-
getScanValue
public double getScanValue()Returns the scanValue attribute of the ScanController1D object- Returns:
- The scanValue value
-
addMeasuredValue
Adds a feature to the MeasuredValue attribute of the ScanController1D object- Parameters:
mv
- The feature to be added to the MeasuredValue attribute
-
getMeasuredValuesV
Returns the measuredValuesV attribute of the ScanController1D object- Returns:
- The measuredValuesV value
-
removeMeasuredValue
Description of the Method- Parameters:
mv
- Description of the Parameter
-
removeAllMeasuredValues
public void removeAllMeasuredValues()Description of the Method -
addValidationValue
Adds a feature to the ValidationValue attribute of the ScanController1D object- Parameters:
mv
- The feature to be added to the ValidationValue attribute
-
getValidationValuesV
Returns the validationValuesV attribute of the ScanController1D object- Returns:
- The validationValuesV value
-
removeValidationValue
Description of the Method- Parameters:
mv
- Description of the Parameter
-
removeAllValidationValues
public void removeAllValidationValues()Description of the Method -
addNewSetOfDataListener
Adds a feature to the NewSetOfDataListener attribute of the ScanController1D object- Parameters:
newSetListener
- The feature to be added to the NewSetOfDataListener attribute
-
addNewPointOfDataListener
Adds a feature to the NewPointOfDataListener attribute of the ScanController1D object- Parameters:
newPointListener
- The feature to be added to the NewPointOfDataListener attribute
-
removeAllNewSetOfDataListeners
public void removeAllNewSetOfDataListeners()Description of the Method -
removeAllNewPointOfDataListeners
public void removeAllNewPointOfDataListeners()Description of the Method -
addStartListener
Adds a new listener to the start listeners.- Parameters:
newStartListener
- New listener
-
removeStartListener
Removes the listener from the start listeners.- Parameters:
startListener
- The listener
-
removeAllStartListeners
public void removeAllStartListeners()Removes all start listeners. -
addStopListener
Adds a new listener to the stop listeners.- Parameters:
newStopListener
- New listener
-
removeStopListener
Removes the listener from the stop listeners.- Parameters:
stopListener
- The listener
-
removeAllStopListeners
public void removeAllStopListeners()Removes all stop listeners. -
addResumeListener
Adds a new listener to the resume listeners.- Parameters:
newResumeListener
- New listener
-
removeResumeListener
Removes the listener from the resume listeners.- Parameters:
resumeListener
- The listener
-
removeAllResumeListeners
public void removeAllResumeListeners()Removes all resume listeners. -
startScan
public boolean startScan()Starts scan- Returns:
- true if it is possible
-
resumeScan
public boolean resumeScan()Resumes scan- Returns:
- true if it is possible
-
stopScan
public boolean stopScan()Stops scan- Returns:
- true if it is possible
-
setBeamTriggerState
public void setBeamTriggerState(boolean triggerOn) Sets the beamTriggerState attribute of the ScanController1D object- Parameters:
triggerOn
- The new beamTriggerState value
-
setBeamTriggerDelay
public void setBeamTriggerDelay(double triggerDelay) Sets the beamTriggerDelay attribute of the ScanController1D object- Parameters:
triggerDelay
- The new beamTriggerDelay value
-
getBeamTriggerState
public boolean getBeamTriggerState()Returns the beamTriggerState attribute of the ScanController1D object- Returns:
- The beamTriggerState value
-
getBeamTriggerDelay
public double getBeamTriggerDelay()Returns the beamTriggerDelay attribute of the ScanController1D object- Returns:
- The beamTriggerDelay value
-
setBeamTriggerChannel
Sets the beamTriggerChannel attribute of the ScanController1D object- Parameters:
triggerCh
- The new beamTriggerChannel value
-
setBeamTriggerChannelName
Sets the beamTriggerChannelName attribute of the ScanController1D object- Parameters:
triggerChName
- The new beamTriggerChannelName value
-
getBeamTriggerChannel
Returns the beamTriggerChannel attribute of the ScanController1D object- Returns:
- The beamTriggerChannel value
-
getBeamTriggerChannelName
Returns the beamTriggerChannelName attribute of the ScanController1D object- Returns:
- The beamTriggerChannelName value
-
measure
public void measure()Description of the Method -
setPhaseScanButtonVisible
public void setPhaseScanButtonVisible(boolean vis) Shows or removes the phase scan button on the panel- Parameters:
vis
- The new phaseScanButtonVisible value
-
getPhaseScanButtonVizible
public boolean getPhaseScanButtonVizible()Returns true if the phase scan button is visible and false otherwise- Returns:
- The boolean True if the phase scan button is visible
-
getPhaseScanButtonOn
public boolean getPhaseScanButtonOn()Returns the phase scan button state on or off- Returns:
- The phase scan button state on(true) off(false)
-
setPhaseScanButtonOn
public void setPhaseScanButtonOn(boolean onOff) Sets the state of the phase scan button- Parameters:
onOff
- The new phase scan button value
-
getValueRBLabel
Returns the valueRBLabel attribute of the ScanController1D object- Returns:
- The valueRBLabel value
-
getScanStepLabel
Returns the scanStepLabel attribute of the ScanController1D object- Returns:
- The scanStepLabel value
-
getUnitsLabel
Returns the unitsLabel attribute of the ScanController1D object- Returns:
- The unitsLabel value
-
getValueText
Returns the valueText attribute of the ScanController1D object- Returns:
- The valueText value
-
getValueTextRB
Returns the valueTextRB attribute of the ScanController1D object- Returns:
- The valueTextRB value
-
getMessageText
Returns the messageText attribute of the ScanController1D object- Returns:
- The messageText value
-
main
Description of the Method- Parameters:
args
- Description of the Parameter
-