Package uk.ac.gda.ui.views.synoptic
Class LiveControlsImage
java.lang.Object
gda.factory.FindableBase
uk.ac.gda.client.livecontrol.LiveControlBase
uk.ac.gda.ui.views.synoptic.LiveControlsImage
- All Implemented Interfaces:
Findable,LiveControl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateControl(org.eclipse.swt.widgets.Composite composite) This method will create the GUI for this control.protected Optional<org.eclipse.swt.graphics.Image> intbooleanvoidsetBusyImageName(String busyImageName) voidsetGenerateBusyImage(boolean generateBusyImage) voidsetHighlightColour(int highlightColour) Set the colour to be used to highlight the text/image when one of the scannables being observed is busy.voidsetImageName(String imageName) voidsetImageRotation(int imageRotation) voidsetLabelText(String labelText) voidsetScannablesToObserve(List<String> scannableNames) voidsetScannableToObserve(String scannableNames) 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
-
LiveControlsImage
public LiveControlsImage()
-
-
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
-
getImage
-
setImageName
-
setBusyImageName
-
setLabelText
-
setHighlightColour
public void setHighlightColour(int highlightColour) Set the colour to be used to highlight the text/image when one of the scannables being observed is busy. This should be one of the SWT color values (SWT.COLOR_RED,SWT.COLOR_BLUEetc)- Parameters:
highlightColour-
-
setScannablesToObserve
-
setScannableToObserve
-
getImageRotation
public int getImageRotation() -
setImageRotation
public void setImageRotation(int imageRotation) -
isGenerateBusyImage
public boolean isGenerateBusyImage() -
setGenerateBusyImage
public void setGenerateBusyImage(boolean generateBusyImage)
-