Class AnalogChannelPanel

java.lang.Object
analoginput.swing.AnalogChannelPanel
All Implemented Interfaces:
PamDialogPanel

public class AnalogChannelPanel extends Object implements PamDialogPanel
Construct a dialog panel with range information for a list of named channels
Author:
dg50
  • Constructor Details

  • Method Details

    • setItemRange

      public boolean setItemRange(int iItem, AnalogRangeData rangeData)
    • getItemRange

      public AnalogRangeData getItemRange(int iItem)
    • setDeviceParams

      public void setDeviceParams(AnalogDeviceParams deviceParams)
    • setItemCalibration

      public void setItemCalibration(int item, CalibrationData calData)
    • getItemCalibration

      public CalibrationData getItemCalibration(int item)
    • getDeviceParams

      public AnalogDeviceParams getDeviceParams(AnalogDeviceParams deviceParams)
    • getDialogComponent

      public JComponent getDialogComponent()
      Description copied from interface: PamDialogPanel
      Get the awt component which will be incorporated into a larger display panel / component.
      Specified by:
      getDialogComponent in interface PamDialogPanel
      Returns:
      an awt component.
    • setParams

      public void setParams()
      Description copied from interface: PamDialogPanel
      Set the initial parameter values in the panel. Since this interface is purely abstract, the type of parameter is unknown, so concrete implementations will somehow have to pass the class containing the parameter information in some other way.
      Specified by:
      setParams in interface PamDialogPanel
    • getParams

      public boolean getParams()
      Specified by:
      getParams in interface PamDialogPanel
      Returns:
      true if parameters all have acceptable values and the dialog can close.
    • enableItem

      public void enableItem(int item)