Class LiveControlsScannableGroup

All Implemented Interfaces:
Findable, LiveControl

public class LiveControlsScannableGroup extends LiveControlGroup
  • Constructor Details

    • LiveControlsScannableGroup

      public LiveControlsScannableGroup()
  • Method Details

    • setScannableGroupName

      public void setScannableGroupName(String name) throws FactoryException
      Throws:
      FactoryException
    • setScannableGroup

      public void setScannableGroup(IScannableGroup crystalScannableGroup)
    • createControl

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

      public Boolean getShowIncrement()
    • setShowIncrement

      public void setShowIncrement(Boolean showIncrement)
    • isReadOnly

      public boolean isReadOnly()
    • setReadOnly

      public void setReadOnly(boolean readOnly)
    • setReadOnlyList

      public void setReadOnlyList(List<Boolean> readOnly)
    • setDisplayNameWidth

      public void setDisplayNameWidth(int displayNameWidth)
    • setWidgetWidth

      public void setWidgetWidth(int widgetWidth)
    • setHorizontalLayout

      public void setHorizontalLayout(boolean horizontalLayout)
    • setIncrementTextWidth

      public void setIncrementTextWidth(int incrementTextWidth)
    • setShowStop

      public void setShowStop(boolean showStop)
    • setDescriptions

      public void setDescriptions(List<String> descriptions)
      Set the description for each widget in the group.
    • If empty, the scannable name will be used.
    • If there are fewer descriptions than scannables, the description indices will 'wrap around'. i.e. description index = widget index % num descriptions
    • Parameters:
      descriptions -
    • toggleIncrementControlDisplay

      public void toggleIncrementControlDisplay()
      Toggle states of showIncrement, showStop and layout flags when toggle button in view toolbar are pressed
      Overrides:
      toggleIncrementControlDisplay in class LiveControlGroup
    • toggleShowStopButton

      public void toggleShowStopButton()
      Overrides:
      toggleShowStopButton in class LiveControlGroup
    • toggleLayoutControl

      public void toggleLayoutControl()
      Overrides:
      toggleLayoutControl in class LiveControlGroup