Package uk.ac.diamond.daq.mapping.api
Class MappingRegionUnits
java.lang.Object
uk.ac.diamond.daq.mapping.api.MappingRegionUnits
This class provides a mapping of path property (e.g. "xAxisStep", "xCentre", "radius") to the unit to be displayed in the
mapping GUI for the relevant field.
It can be used, for example, to define the initial unit to be shown for each field after a client reset, and also to save the state of the GUI when submitting a scan.
If no unit is mapped for a given field, the value returned will default to:
- the value set in the uk.ac.gda.client.defaultUnits property, or if this is not set,
- the default value supplied by the caller
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MappingRegionUnits
-
-
Method Details
-
getUnits
-