Class DetectorScanUIElement<M>

Type Parameters:
M - the type of the model of the detector
All Implemented Interfaces:
IModelProvider<M>, INameable, IScanUIElement

public class DetectorScanUIElement<M> extends ScanUIElement implements IModelProvider<M>
An instance of this class represents a detector in the UI. An instance of this class wraps a DeviceInformation. It is not intended to be serialized.
  • Constructor Details

  • Method Details

    • getModel

      public M getModel()
      Specified by:
      getModel in interface IModelProvider<M>
      Returns:
      the model that we are providing
    • setModel

      public void setModel(M detectorModel)
      Description copied from interface: IModelProvider
      The model for some providers may be set but be warned that others throw an IllegalArgumentException.
      Specified by:
      setModel in interface IModelProvider<M>
      Parameters:
      detectorModel -
    • getDeviceRole

      public DeviceRole getDeviceRole()
    • getLabel

      public String getLabel()
    • getId

      public String getId()
    • getDeviceInfo

      public DeviceInformation<?> getDeviceInfo()