Package xal.extension.scan
Class ScanController2D
java.lang.Object
xal.extension.scan.ScanController2D
Description of the Class
- Version:
- September 8, 2004
- Author:
- shishlo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a feature to the MeasuredValue attribute of the ScanController2D objectvoidaddNewPointOfDataListener(ActionListener newPointListener) Adds a feature to the NewPointOfDataListener attribute of the ScanController2D objectvoidaddNewSetOfDataListener(ActionListener newSetListener) Adds a feature to the NewSetOfDataListener attribute of the ScanController2D objectvoidaddStartButtonListener(ActionListener newStartButtonListener) Adds a feature to the StartButtonListener attribute of the ScanController2D objectvoidAdds a feature to the ValidationValue attribute of the ScanController2D objectReturns the beamTriggerChannel attribute of the ScanController2D objectReturns the beamTriggerChannelName attribute of the ScanController2D objectdoubleReturns the beamTriggerDelay attribute of the ScanController2D objectbooleanReturns the beamTriggerState attribute of the ScanController2D objectReturns the jPanel attribute of the ScanController2D objectdoubleReturns the lowLimit attribute of the ScanController2D objectReturns the measuredValuesV attribute of the ScanController2D objectReturns the messageText attribute of the ScanController2D objectdoubleReturns the paramLowLimit attribute of the ScanController2D objectbooleanReturns the state of the phase scan button on the parameter scan panel (on or off)booleanReturns true if the phase scan button on the parameter panel is visible and false otherwiseReturns the paramRBLabel attribute of the ScanController2D objectReturns the paramScanStepLabel attribute of the ScanController2D objectdoubleReturns the paramStep attribute of the ScanController2D objectReturns the paramUnitsLabel attribute of the ScanController2D objectdoubleReturns the paramUppLimit attribute of the ScanController2D objectdoubleReturns the paramValue attribute of the ScanController2D objectdoubleReturns the paramValueRB attribute of the ScanController2D objectReturns the paramVariable attribute of the ScanController2D objectReturns the scanStepLabel attribute of the ScanController2D objectdoubleReturns the scanValue attribute of the ScanController2D objectdoubleReturns the scanValueRB attribute of the ScanController2D objectReturns the scanVariable attribute of the ScanController2D objectdoubleReturns the sleepTime attribute of the ScanController2D objectdoublegetStep()Returns the step attribute of the ScanController2D objectgetTitle()Returns the title attribute of the ScanController2D objectReturns the unitsLabel attribute of the ScanController2D objectdoubleReturns the uppLimit attribute of the ScanController2D objectReturns the validationValuesV attribute of the ScanController2D objectbooleanReturns the state of the phase scan button on the value scan panel (on or off)booleanReturns true if the phase scan button on the value panel is visible and false otherwiseReturns the valueRBLabel attribute of the ScanController2D objectReturns the valueText attribute of the ScanController2D objectReturns the valueTextRB attribute of the ScanController2D objectbooleanisScanON()Returns the scanON attribute of the ScanController2D objectstatic voidDescription of the Methodvoidmeasure()Description of the MethodvoidDescription of the MethodvoidDescription of the MethodvoidDescription of the MethodvoidDescription of the MethodvoidDescription of the MethodvoidDescription of the MethodvoidremoveStartButtonListener(ActionListener newStartButtonListener) Description of the MethodvoidDescription of the MethodvoidsetAvgController(AvgController avgController) Sets the avgController attribute of the ScanController2D objectvoidsetBeamTriggerChannel(Channel triggerCh) Sets the beamTriggerChannel attribute of the ScanController2D objectvoidsetBeamTriggerChannelName(String triggerChName) Sets the beamTriggerChannelName attribute of the ScanController2D objectvoidsetBeamTriggerDelay(double triggerDelay) Sets the beamTriggerDelay attribute of the ScanController2D objectvoidsetBeamTriggerState(boolean triggerOn) Sets the beamTriggerState attribute of the ScanController2D objectvoidsetCurrentValue(double scanValue) Sets the currentValue attribute of the ScanController2D objectvoidsetCurrentValueRB(double scanValueRB) Sets the currentValueRB attribute of the ScanController2D objectvoidsetFontForAll(Font fnt) Sets the fontForAll attribute of the ScanController2D objectvoidsetLowLimit(double lowLim) Sets the lowLimit attribute of the ScanController2D objectvoidsetParamCurrentValue(double paramValue) Sets the paramCurrentValue attribute of the ScanController2D objectvoidsetParamCurrentValueRB(double paramValueRB) Sets the paramCurrentValueRB attribute of the ScanController2D objectvoidsetParamLowLimit(double paramLowLim) Sets the paramLowLimit attribute of the ScanController2D objectvoidsetParamPhaseScanButtonOn(boolean onOff) Sets the state of the phase scan button (the parameter scan panel)voidsetParamPhaseScanButtonVisible(boolean vis) Shows or removes the phase scan button on the parameter scan panelvoidsetParamStep(double paramStep) Sets the paramStep attribute of the ScanController2D objectvoidsetParamUppLimit(double paramUppLim) Sets the paramUppLimit attribute of the ScanController2D objectvoidsetParamVariable(ScanVariable paramVariable) Sets the paramVariable attribute of the ScanController2D objectvoidsetScanVariable(ScanVariable scanVariable) Sets the scanVariable attribute of the ScanController2D objectvoidsetSleepTime(double sleepTimeIn) Sets the sleepTime attribute of the ScanController2D objectvoidsetStep(double step) Sets the step attribute of the ScanController2D objectvoidSets the title attribute of the ScanController2D objectvoidsetUppLimit(double uppLim) Sets the uppLimit attribute of the ScanController2D objectvoidsetValidationController(ValidationController validationController) Sets the validationController attribute of the ScanController2D objectvoidsetValuePhaseScanButtonOn(boolean onOff) Sets the state of the phase scan button (the value scan panel)voidsetValuePhaseScanButtonVisible(boolean vis) Shows or removes the phase scan button on the value scan panel
-
Constructor Details
-
ScanController2D
Constructor for the ScanController2D object- Parameters:
title- Description of the Parameter
-
-
Method Details
-
setFontForAll
Sets the fontForAll attribute of the ScanController2D object- Parameters:
fnt- The new fontForAll value
-
getTitle
Returns the title attribute of the ScanController2D object- Returns:
- The title value
-
setTitle
Sets the title attribute of the ScanController2D object- Parameters:
title- The new title value
-
getJPanel
Returns the jPanel attribute of the ScanController2D object- Returns:
- The jPanel value
-
isScanON
public boolean isScanON()Returns the scanON attribute of the ScanController2D object- Returns:
- The scanON value
-
setParamVariable
Sets the paramVariable attribute of the ScanController2D object- Parameters:
paramVariable- The new paramVariable value
-
setScanVariable
Sets the scanVariable attribute of the ScanController2D object- Parameters:
scanVariable- The new scanVariable value
-
setAvgController
Sets the avgController attribute of the ScanController2D object- Parameters:
avgController- The new avgController value
-
setValidationController
Sets the validationController attribute of the ScanController2D object- Parameters:
validationController- The new validationController value
-
setParamCurrentValue
public void setParamCurrentValue(double paramValue) Sets the paramCurrentValue attribute of the ScanController2D object- Parameters:
paramValue- The new paramCurrentValue value
-
setParamCurrentValueRB
public void setParamCurrentValueRB(double paramValueRB) Sets the paramCurrentValueRB attribute of the ScanController2D object- Parameters:
paramValueRB- The new paramCurrentValueRB value
-
setCurrentValue
public void setCurrentValue(double scanValue) Sets the currentValue attribute of the ScanController2D object- Parameters:
scanValue- The new currentValue value
-
setCurrentValueRB
public void setCurrentValueRB(double scanValueRB) Sets the currentValueRB attribute of the ScanController2D object- Parameters:
scanValueRB- The new currentValueRB value
-
getParamValue
public double getParamValue()Returns the paramValue attribute of the ScanController2D object- Returns:
- The paramValue value
-
getParamValueRB
public double getParamValueRB()Returns the paramValueRB attribute of the ScanController2D object- Returns:
- The paramValueRB value
-
getScanValue
public double getScanValue()Returns the scanValue attribute of the ScanController2D object- Returns:
- The scanValue value
-
getScanValueRB
public double getScanValueRB()Returns the scanValueRB attribute of the ScanController2D object- Returns:
- The scanValueRB value
-
setParamLowLimit
public void setParamLowLimit(double paramLowLim) Sets the paramLowLimit attribute of the ScanController2D object- Parameters:
paramLowLim- The new paramLowLimit value
-
setParamUppLimit
public void setParamUppLimit(double paramUppLim) Sets the paramUppLimit attribute of the ScanController2D object- Parameters:
paramUppLim- The new paramUppLimit value
-
setParamStep
public void setParamStep(double paramStep) Sets the paramStep attribute of the ScanController2D object- Parameters:
paramStep- The new paramStep value
-
getParamLowLimit
public double getParamLowLimit()Returns the paramLowLimit attribute of the ScanController2D object- Returns:
- The paramLowLimit value
-
getParamUppLimit
public double getParamUppLimit()Returns the paramUppLimit attribute of the ScanController2D object- Returns:
- The paramUppLimit value
-
getParamStep
public double getParamStep()Returns the paramStep attribute of the ScanController2D object- Returns:
- The paramStep value
-
setLowLimit
public void setLowLimit(double lowLim) Sets the lowLimit attribute of the ScanController2D object- Parameters:
lowLim- The new lowLimit value
-
setUppLimit
public void setUppLimit(double uppLim) Sets the uppLimit attribute of the ScanController2D object- Parameters:
uppLim- The new uppLimit value
-
setStep
public void setStep(double step) Sets the step attribute of the ScanController2D object- Parameters:
step- The new step value
-
getLowLimit
public double getLowLimit()Returns the lowLimit attribute of the ScanController2D object- Returns:
- The lowLimit value
-
getUppLimit
public double getUppLimit()Returns the uppLimit attribute of the ScanController2D object- Returns:
- The uppLimit value
-
getStep
public double getStep()Returns the step attribute of the ScanController2D object- Returns:
- The step value
-
setSleepTime
public void setSleepTime(double sleepTimeIn) Sets the sleepTime attribute of the ScanController2D object- Parameters:
sleepTimeIn- The new sleepTime value
-
getSleepTime
public double getSleepTime()Returns the sleepTime attribute of the ScanController2D object- Returns:
- The sleepTime value
-
getParamVariable
Returns the paramVariable attribute of the ScanController2D object- Returns:
- The paramVariable value
-
getScanVariable
Returns the scanVariable attribute of the ScanController2D object- Returns:
- The scanVariable value
-
addMeasuredValue
Adds a feature to the MeasuredValue attribute of the ScanController2D object- Parameters:
mv- The feature to be added to the MeasuredValue attribute
-
getMeasuredValuesV
Returns the measuredValuesV attribute of the ScanController2D 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 ScanController2D object- Parameters:
mv- The feature to be added to the ValidationValue attribute
-
getValidationValuesV
Returns the validationValuesV attribute of the ScanController2D 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 ScanController2D object- Parameters:
newSetListener- The feature to be added to the NewSetOfDataListener attribute
-
addNewPointOfDataListener
Adds a feature to the NewPointOfDataListener attribute of the ScanController2D 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 -
addStartButtonListener
Adds a feature to the StartButtonListener attribute of the ScanController2D object- Parameters:
newStartButtonListener- The feature to be added to the StartButtonListener attribute
-
removeStartButtonListener
Description of the Method- Parameters:
newStartButtonListener- Description of the Parameter
-
removeAllStartButtonListeners
public void removeAllStartButtonListeners()Description of the Method -
setBeamTriggerState
public void setBeamTriggerState(boolean triggerOn) Sets the beamTriggerState attribute of the ScanController2D object- Parameters:
triggerOn- The new beamTriggerState value
-
setBeamTriggerDelay
public void setBeamTriggerDelay(double triggerDelay) Sets the beamTriggerDelay attribute of the ScanController2D object- Parameters:
triggerDelay- The new beamTriggerDelay value
-
getBeamTriggerState
public boolean getBeamTriggerState()Returns the beamTriggerState attribute of the ScanController2D object- Returns:
- The beamTriggerState value
-
getBeamTriggerDelay
public double getBeamTriggerDelay()Returns the beamTriggerDelay attribute of the ScanController2D object- Returns:
- The beamTriggerDelay value
-
setBeamTriggerChannel
Sets the beamTriggerChannel attribute of the ScanController2D object- Parameters:
triggerCh- The new beamTriggerChannel value
-
setBeamTriggerChannelName
Sets the beamTriggerChannelName attribute of the ScanController2D object- Parameters:
triggerChName- The new beamTriggerChannelName value
-
getBeamTriggerChannel
Returns the beamTriggerChannel attribute of the ScanController2D object- Returns:
- The beamTriggerChannel value
-
getBeamTriggerChannelName
Returns the beamTriggerChannelName attribute of the ScanController2D object- Returns:
- The beamTriggerChannelName value
-
measure
public void measure()Description of the Method -
setParamPhaseScanButtonVisible
public void setParamPhaseScanButtonVisible(boolean vis) Shows or removes the phase scan button on the parameter scan panel- Parameters:
vis- The new paramPhaseScanButtonVisible value
-
setValuePhaseScanButtonVisible
public void setValuePhaseScanButtonVisible(boolean vis) Shows or removes the phase scan button on the value scan panel- Parameters:
vis- The new valuePhaseScanButtonVisible value
-
getParamPhaseScanButtonVizible
public boolean getParamPhaseScanButtonVizible()Returns true if the phase scan button on the parameter panel is visible and false otherwise- Returns:
- The boolean True if the phase scan button on the parameter panel is visible
-
getValuePhaseScanButtonVizible
public boolean getValuePhaseScanButtonVizible()Returns true if the phase scan button on the value panel is visible and false otherwise- Returns:
- The boolean True if the phase scan button on the value panel is visible
-
getParamPhaseScanButtonOn
public boolean getParamPhaseScanButtonOn()Returns the state of the phase scan button on the parameter scan panel (on or off)- Returns:
- The phase scan button state on(true) off(false) (on the parameter scan panel)
-
getValuePhaseScanButtonOn
public boolean getValuePhaseScanButtonOn()Returns the state of the phase scan button on the value scan panel (on or off)- Returns:
- The phase scan button state on(true) off(false) (the value scan panel)
-
setParamPhaseScanButtonOn
public void setParamPhaseScanButtonOn(boolean onOff) Sets the state of the phase scan button (the parameter scan panel)- Parameters:
onOff- The new phase scan button value (the parameter scan panel)
-
setValuePhaseScanButtonOn
public void setValuePhaseScanButtonOn(boolean onOff) Sets the state of the phase scan button (the value scan panel)- Parameters:
onOff- The new phase scan button value (the value scan panel)
-
getValueRBLabel
Returns the valueRBLabel attribute of the ScanController2D object- Returns:
- The valueRBLabel value
-
getScanStepLabel
Returns the scanStepLabel attribute of the ScanController2D object- Returns:
- The scanStepLabel value
-
getUnitsLabel
Returns the unitsLabel attribute of the ScanController2D object- Returns:
- The unitsLabel value
-
getValueText
Returns the valueText attribute of the ScanController2D object- Returns:
- The valueText value
-
getValueTextRB
Returns the valueTextRB attribute of the ScanController2D object- Returns:
- The valueTextRB value
-
getMessageText
Returns the messageText attribute of the ScanController2D object- Returns:
- The messageText value
-
getParamRBLabel
Returns the paramRBLabel attribute of the ScanController2D object- Returns:
- The paramRBLabel value
-
getParamScanStepLabel
Returns the paramScanStepLabel attribute of the ScanController2D object- Returns:
- The paramScanStepLabel value
-
getParamUnitsLabel
Returns the paramUnitsLabel attribute of the ScanController2D object- Returns:
- The paramUnitsLabel value
-
main
Description of the Method- Parameters:
args- Description of the Parameter
-