Class ScanController2D

java.lang.Object
xal.extension.scan.ScanController2D

public class ScanController2D extends Object
Description of the Class
Version:
September 8, 2004
Author:
shishlo
  • Constructor Details

    • ScanController2D

      public ScanController2D(String title)
      Constructor for the ScanController2D object
      Parameters:
      title - Description of the Parameter
  • Method Details

    • setFontForAll

      public void setFontForAll(Font fnt)
      Sets the fontForAll attribute of the ScanController2D object
      Parameters:
      fnt - The new fontForAll value
    • getTitle

      public String getTitle()
      Returns the title attribute of the ScanController2D object
      Returns:
      The title value
    • setTitle

      public void setTitle(String title)
      Sets the title attribute of the ScanController2D object
      Parameters:
      title - The new title value
    • getJPanel

      public JPanel 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

      public void setParamVariable(ScanVariable paramVariable)
      Sets the paramVariable attribute of the ScanController2D object
      Parameters:
      paramVariable - The new paramVariable value
    • setScanVariable

      public void setScanVariable(ScanVariable scanVariable)
      Sets the scanVariable attribute of the ScanController2D object
      Parameters:
      scanVariable - The new scanVariable value
    • setAvgController

      public void setAvgController(AvgController avgController)
      Sets the avgController attribute of the ScanController2D object
      Parameters:
      avgController - The new avgController value
    • setValidationController

      public void setValidationController(ValidationController validationController)
      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

      public ScanVariable getParamVariable()
      Returns the paramVariable attribute of the ScanController2D object
      Returns:
      The paramVariable value
    • getScanVariable

      public ScanVariable getScanVariable()
      Returns the scanVariable attribute of the ScanController2D object
      Returns:
      The scanVariable value
    • addMeasuredValue

      public void addMeasuredValue(MeasuredValue mv)
      Adds a feature to the MeasuredValue attribute of the ScanController2D object
      Parameters:
      mv - The feature to be added to the MeasuredValue attribute
    • getMeasuredValuesV

      public Vector<MeasuredValue> getMeasuredValuesV()
      Returns the measuredValuesV attribute of the ScanController2D object
      Returns:
      The measuredValuesV value
    • removeMeasuredValue

      public void removeMeasuredValue(MeasuredValue mv)
      Description of the Method
      Parameters:
      mv - Description of the Parameter
    • removeAllMeasuredValues

      public void removeAllMeasuredValues()
      Description of the Method
    • addValidationValue

      public void addValidationValue(MeasuredValue mv)
      Adds a feature to the ValidationValue attribute of the ScanController2D object
      Parameters:
      mv - The feature to be added to the ValidationValue attribute
    • getValidationValuesV

      public Vector<MeasuredValue> getValidationValuesV()
      Returns the validationValuesV attribute of the ScanController2D object
      Returns:
      The validationValuesV value
    • removeValidationValue

      public void removeValidationValue(MeasuredValue mv)
      Description of the Method
      Parameters:
      mv - Description of the Parameter
    • removeAllValidationValues

      public void removeAllValidationValues()
      Description of the Method
    • addNewSetOfDataListener

      public void addNewSetOfDataListener(ActionListener newSetListener)
      Adds a feature to the NewSetOfDataListener attribute of the ScanController2D object
      Parameters:
      newSetListener - The feature to be added to the NewSetOfDataListener attribute
    • addNewPointOfDataListener

      public void addNewPointOfDataListener(ActionListener newPointListener)
      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

      public void addStartButtonListener(ActionListener newStartButtonListener)
      Adds a feature to the StartButtonListener attribute of the ScanController2D object
      Parameters:
      newStartButtonListener - The feature to be added to the StartButtonListener attribute
    • removeStartButtonListener

      public void removeStartButtonListener(ActionListener newStartButtonListener)
      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

      public void setBeamTriggerChannel(Channel triggerCh)
      Sets the beamTriggerChannel attribute of the ScanController2D object
      Parameters:
      triggerCh - The new beamTriggerChannel value
    • setBeamTriggerChannelName

      public void setBeamTriggerChannelName(String triggerChName)
      Sets the beamTriggerChannelName attribute of the ScanController2D object
      Parameters:
      triggerChName - The new beamTriggerChannelName value
    • getBeamTriggerChannel

      public Channel getBeamTriggerChannel()
      Returns the beamTriggerChannel attribute of the ScanController2D object
      Returns:
      The beamTriggerChannel value
    • getBeamTriggerChannelName

      public String 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

      public JLabel getValueRBLabel()
      Returns the valueRBLabel attribute of the ScanController2D object
      Returns:
      The valueRBLabel value
    • getScanStepLabel

      public JLabel getScanStepLabel()
      Returns the scanStepLabel attribute of the ScanController2D object
      Returns:
      The scanStepLabel value
    • getUnitsLabel

      public JLabel getUnitsLabel()
      Returns the unitsLabel attribute of the ScanController2D object
      Returns:
      The unitsLabel value
    • getValueText

      public JTextField getValueText()
      Returns the valueText attribute of the ScanController2D object
      Returns:
      The valueText value
    • getValueTextRB

      public JTextField getValueTextRB()
      Returns the valueTextRB attribute of the ScanController2D object
      Returns:
      The valueTextRB value
    • getMessageText

      public JTextField getMessageText()
      Returns the messageText attribute of the ScanController2D object
      Returns:
      The messageText value
    • getParamRBLabel

      public JLabel getParamRBLabel()
      Returns the paramRBLabel attribute of the ScanController2D object
      Returns:
      The paramRBLabel value
    • getParamScanStepLabel

      public JLabel getParamScanStepLabel()
      Returns the paramScanStepLabel attribute of the ScanController2D object
      Returns:
      The paramScanStepLabel value
    • getParamUnitsLabel

      public JLabel getParamUnitsLabel()
      Returns the paramUnitsLabel attribute of the ScanController2D object
      Returns:
      The paramUnitsLabel value
    • main

      public static void main(String[] args)
      Description of the Method
      Parameters:
      args - Description of the Parameter