Class ThumbWheelModel

All Implemented Interfaces:
IPVWidgetModel, IAdaptable, IPropertySource

public class ThumbWheelModel extends AbstractPVWidgetModel
Model for the ThumbWheel.
  • Field Details

  • Constructor Details

    • ThumbWheelModel

      public ThumbWheelModel()
  • Method Details

    • getTypeID

      public String getTypeID()
      Specified by:
      getTypeID in class AbstractWidgetModel
      Returns:
      the unique typeID of the model.
    • configureProperties

      protected void configureProperties()
      Description copied from class: AbstractWidgetModel
      Configure the properties of the widget. Subclass should add new properties in this method.
      Specified by:
      configureProperties in class AbstractWidgetModel
    • setFont

      public void setFont(OPIFont font)
    • getWholePartDigits

      public int getWholePartDigits()
    • setWholePartDigits

      public void setWholePartDigits(int val)
    • getDecimalPartDigits

      public int getDecimalPartDigits()
    • setDecimalPartDigits

      public void setDecimalPartDigits(int val)
    • getInternalFrameThickness

      public int getInternalFrameThickness()
    • getInternalFrameColor

      public RGB getInternalFrameColor()
    • getInternalFocusedFrameColor

      public RGB getInternalFocusedFrameColor()
    • getMinimum

      public double getMinimum()
    • getMaximum

      public double getMaximum()
    • getInternalBorderColor

      public Color getInternalBorderColor()
    • getInternalFocusedBorderColor

      public Color getInternalFocusedBorderColor()
    • getInternalBorderWidth

      public int getInternalBorderWidth()
    • isLimitsFromPV

      public boolean isLimitsFromPV()
      Returns:
      true if limits will be load from DB, false otherwise
    • isButtonVisible

      public boolean isButtonVisible()