Class ScannableValueControl

All Implemented Interfaces:
Findable, LiveControl

public class ScannableValueControl extends LiveControlBase
A Spring configure bean for LiveControl used to populate items in LiveControlsView It just has 3 parts: a display name, a group name, and input data unit if exist which must be respected as there is no unit conversion built in.
  • Constructor Details

    • ScannableValueControl

      public ScannableValueControl()
  • Method Details

    • setTextInput

      public void setTextInput(boolean textInput)
    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public void setDisplayName(String displayName)
    • getScannableName

      public String getScannableName()
    • setScannableName

      public void setScannableName(String scannableName)
    • getUserUnits

      public String getUserUnits()
    • setUserUnits

      public void setUserUnits(String userUnits)
    • getTextWidth

      public Integer getTextWidth()
    • setTextWidth

      public void setTextWidth(Integer incrementTextWidth)
    • 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
    • isReadOnly

      public boolean isReadOnly()
    • setReadOnly

      public void setReadOnly(boolean readOnly)
    • getLowerLimit

      public Double getLowerLimit()
    • setLowerLimit

      public void setLowerLimit(Double lowerLimit)
    • getUpperlimit

      public Double getUpperlimit()
    • setUpperlimit

      public void setUpperlimit(Double upperlimit)
    • getBoldLabel

      public boolean getBoldLabel()
    • setBoldLabel

      public void setBoldLabel(boolean boldLabel)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class LiveControlBase
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class LiveControlBase
    • toString

      public String toString()
      Overrides:
      toString in class LiveControlBase