Class LiveControlsImage

All Implemented Interfaces:
Findable, LiveControl

public class LiveControlsImage extends LiveControlBase
  • Constructor Details

    • LiveControlsImage

      public LiveControlsImage()
  • Method Details

    • createControl

      public void createControl(org.eclipse.swt.widgets.Composite composite)
      Description copied from interface: LiveControl
      This method will create the GUI for this control.
      Parameters:
      composite - The composite onto which the control should draw
    • getImage

      protected Optional<org.eclipse.swt.graphics.Image> getImage(String pathToImage)
    • setImageName

      public void setImageName(String imageName)
    • setBusyImageName

      public void setBusyImageName(String busyImageName)
    • setLabelText

      public void setLabelText(String labelText)
    • 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_BLUE etc)
      Parameters:
      highlightColour -
    • setScannablesToObserve

      public void setScannablesToObserve(List<String> scannableNames)
    • setScannableToObserve

      public void setScannableToObserve(String scannableNames)
    • getImageRotation

      public int getImageRotation()
    • setImageRotation

      public void setImageRotation(int imageRotation)
    • isGenerateBusyImage

      public boolean isGenerateBusyImage()
    • setGenerateBusyImage

      public void setGenerateBusyImage(boolean generateBusyImage)