Package uk.ac.gda.client.livecontrol
Class ScannableValueControl
java.lang.Object
gda.factory.FindableBase
uk.ac.gda.client.livecontrol.LiveControlBase
uk.ac.gda.client.livecontrol.ScannableValueControl
- All Implemented Interfaces:
Findable,LiveControl
A Spring configure bean for
LiveControl used to populate items in LiveControlsView
It just has 3 parts: a display name, a group name, and input data unit if exist which must be
respected as there is no unit conversion built in.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateControl(org.eclipse.swt.widgets.Composite composite) This method will create the GUI for this control.booleanbooleaninthashCode()booleanvoidsetBoldLabel(boolean boldLabel) voidsetDisplayName(String displayName) voidsetLowerLimit(Double lowerLimit) voidsetReadOnly(boolean readOnly) voidsetScannableName(String scannableName) voidsetTextInput(boolean textInput) voidsetTextWidth(Integer incrementTextWidth) voidsetUpperlimit(Double upperlimit) voidsetUserUnits(String userUnits) toString()Methods inherited from class uk.ac.gda.client.livecontrol.LiveControlBase
dispose, getGroup, setGroupMethods inherited from class gda.factory.FindableBase
getName, setName
-
Constructor Details
-
ScannableValueControl
public ScannableValueControl()
-
-
Method Details
-
setTextInput
public void setTextInput(boolean textInput) -
getDisplayName
-
setDisplayName
-
getScannableName
-
setScannableName
-
getUserUnits
-
setUserUnits
-
getTextWidth
-
setTextWidth
-
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
-
isReadOnly
public boolean isReadOnly() -
setReadOnly
public void setReadOnly(boolean readOnly) -
getLowerLimit
-
setLowerLimit
-
getUpperlimit
-
setUpperlimit
-
getBoldLabel
public boolean getBoldLabel() -
setBoldLabel
public void setBoldLabel(boolean boldLabel) -
hashCode
public int hashCode()- Overrides:
hashCodein classLiveControlBase
-
equals
- Overrides:
equalsin classLiveControlBase
-
toString
- Overrides:
toStringin classLiveControlBase
-