Package uk.ac.diamond.daq.mapping.impl
Class DetectorModelWrapper<T extends IDetectorModel>
java.lang.Object
uk.ac.diamond.daq.mapping.impl.ScanModelWrapper<T>
uk.ac.diamond.daq.mapping.impl.DetectorModelWrapper<T>
- All Implemented Interfaces:
IScanModelWrapper<T>
A wrapper around a detector model, for use in the mapping UI.
It adds a name which is displayed to the user (which can be different to the name
of the detector in the model), and a boolean for whether to include this detector in the scan.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanvoidsetShownByDefault(boolean shownByDefault) toString()Methods inherited from class uk.ac.diamond.daq.mapping.impl.ScanModelWrapper
getModel, getName, isIncludeInScan, setIncludeInScan, setModel, setName
-
Constructor Details
-
DetectorModelWrapper
public DetectorModelWrapper() -
DetectorModelWrapper
-
-
Method Details
-
isShownByDefault
public boolean isShownByDefault() -
setShownByDefault
public void setShownByDefault(boolean shownByDefault) -
hashCode
public int hashCode()- Overrides:
hashCodein classScanModelWrapper<T extends IDetectorModel>
-
equals
- Overrides:
equalsin classScanModelWrapper<T extends IDetectorModel>
-
toString
- Overrides:
toStringin classScanModelWrapper<T extends IDetectorModel>
-