Package uk.ac.gda.ui.views.synoptic
Class XesSimulatedPositionsView
java.lang.Object
gda.factory.FindableBase
uk.ac.gda.client.livecontrol.LiveControlBase
uk.ac.gda.ui.views.synoptic.XesSimulatedPositionsView
- All Implemented Interfaces:
Findable,gda.observable.IObserver,LiveControl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateControl(org.eclipse.swt.widgets.Composite composite) This method will create the GUI for this control.voidsetMotorLabelWidth(int motorLabelWidth) voidsetNumberFormat(String numberFormat) Set the format used for the numerical values of the motor positionsvoidsetParameterScannableNames(List<String> spectrometerParamScannableNames) voidsetXesBraggScannableName(String xesBraggScannableName) voidsetXesEnergyScannableName(String xesEnergyScannableName) Set the name of the XESEnergyScannable object used to calculate the motor positionsvoidUpdate the limits when crystal cut, radius or material scannables are changed.Methods inherited from class uk.ac.gda.client.livecontrol.LiveControlBase
dispose, equals, getGroup, hashCode, setGroup, toStringMethods inherited from class gda.factory.FindableBase
getName, setName
-
Constructor Details
-
XesSimulatedPositionsView
public XesSimulatedPositionsView()
-
-
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.- Specified by:
createControlin interfaceLiveControl- Parameters:
composite- The composite onto which the control should draw
-
setNumberFormat
Set the format used for the numerical values of the motor positions- Parameters:
numberFormat-
-
setMotorLabelWidth
public void setMotorLabelWidth(int motorLabelWidth) -
setXesEnergyScannableName
Set the name of the XESEnergyScannable object used to calculate the motor positions- Parameters:
xesEnergyScannableName-
-
setXesBraggScannableName
-
setParameterScannableNames
-
update
Update the limits when crystal cut, radius or material scannables are changed.- Specified by:
updatein interfacegda.observable.IObserver
-