Class SpinnerModel

All Implemented Interfaces:
IPVWidgetModel, ITextModel, IAdaptable, IPropertySource

public class SpinnerModel extends LabelModel
The model of spinner widget.
  • Field Details

  • Constructor Details

    • SpinnerModel

      public SpinnerModel()
  • Method Details

    • configureProperties

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

      public Double getMinimum()
    • getMaximum

      public Double getMaximum()
    • showText

      public boolean showText()
    • getStepIncrement

      public Double getStepIncrement()
    • getPageIncrement

      public double getPageIncrement()
    • isLimitsFromPV

      public boolean isLimitsFromPV()
    • isPrecisionFromPV

      public boolean isPrecisionFromPV()
    • isButtonsOnLeft

      public boolean isButtonsOnLeft()
    • isHorizontalButtonsLayout

      public boolean isHorizontalButtonsLayout()
    • getTypeID

      public String getTypeID()
      Overrides:
      getTypeID in class LabelModel
      Returns:
      the unique typeID of the model.
    • getFormat

      public SpinnerFigure.NumericFormatType getFormat()