Package uk.ac.gda.client.livecontrol
Class MultiFieldsScannableControl
java.lang.Object
gda.factory.FindableBase
uk.ac.gda.client.livecontrol.LiveControlBase
uk.ac.gda.client.livecontrol.MultiFieldsScannableControl
- All Implemented Interfaces:
Findable,LiveControl
A
LiveControl for a Scannable with multiple input names and/or extra names, and for a
ScannableGroup.
If units for the scannable are set in its output format strings which must be separated with its value by a single
space, the field unit will appear inside text box. Otherwise units for each fields of the scannable can be set in
Spring bean definition as a map of field names to field units.- Since:
- 9.16
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateControl(org.eclipse.swt.widgets.Composite composite) This method will create the GUI for this control.booleaninthashCode()voidsetDisplayName(String displayName) voidsetScannableName(String scannableName) voidsetShowStop(Boolean showStop) voidsetUserUnits(Map<String, String> userUnits) Methods inherited from class uk.ac.gda.client.livecontrol.LiveControlBase
dispose, getGroup, setGroup, toStringMethods inherited from class gda.factory.FindableBase
getName, setName
-
Constructor Details
-
MultiFieldsScannableControl
public MultiFieldsScannableControl()
-
-
Method Details
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite composite) Description copied from interface:LiveControlThis method will create the GUI for this control.- Parameters:
composite- The composite onto which the control should draw
-
getScannableName
-
setScannableName
-
hashCode
public int hashCode()- Overrides:
hashCodein classLiveControlBase
-
equals
- Overrides:
equalsin classLiveControlBase
-
getDisplayName
-
setDisplayName
-
getShowStop
-
setShowStop
-
setUserUnits
-