Class LiveStreamViewCameraControlsToggleOverlay
java.lang.Object
uk.ac.gda.client.live.stream.view.customui.LiveStreamViewCameraControlsToggleOverlay
- All Implemented Interfaces:
LiveStreamViewCameraControlsExtension
public class LiveStreamViewCameraControlsToggleOverlay
extends Object
implements LiveStreamViewCameraControlsExtension
Extension for
LiveStreamViewCameraControls that creates a check box to show and control whether an overlay is
activated.
There is no GDA object that allows you both to change a PV of type DBR_Enum and to monitor it, so this class must be
initialised with two Scannables, one for each function, for example a SimplePVScannable and an
EpicsMonitor respectively.
-
Constructor Summary
ConstructorsConstructorDescriptionLiveStreamViewCameraControlsToggleOverlay(Scannable controlScannable, Scannable monitorScannable) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateUi(org.eclipse.swt.widgets.Composite composite, CameraControl cameraControl) Create the UI associated with this extensionvoidsetOverlayNotUsed(Object overlayNotUsed) voidsetOverlayUsed(Object overlayUsed) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface uk.ac.gda.client.live.stream.view.customui.LiveStreamViewCameraControlsExtension
dispose
-
Constructor Details
-
LiveStreamViewCameraControlsToggleOverlay
-
-
Method Details
-
createUi
Description copied from interface:LiveStreamViewCameraControlsExtensionCreate the UI associated with this extensionThe parent composite will allocate one column to the UI. This class may, of course, subdivide this into multiple columns.
- Specified by:
createUiin interfaceLiveStreamViewCameraControlsExtension- Parameters:
composite- The parent composite on which to create thus UIcameraControl- Object to control the camera
-
setOverlayNotUsed
-
setOverlayUsed
-