Class NumericFieldDescription

All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable
Direct Known Subclasses:
SliderDescription

public class NumericFieldDescription extends EditFieldDescription
The description of a Web NumericField test object.
  • Constructor Details

    • NumericFieldDescription

      public NumericFieldDescription()
      Initializes a new instance of the NumericFieldDescription class.
    • NumericFieldDescription

      protected NumericFieldDescription(NumericFieldDescription.Init<?> init)
      Initializes a new instance of the NumericFieldDescription class using the Builder pattern.
      Parameters:
      init - the Builder pattern.
  • Method Details

    • setNumericValue

      public void setNumericValue(Double numericValue)
      Sets the current value in the number field.
      Parameters:
      numericValue - the current value in the number field.
    • getNumericValue

      public Double getNumericValue()
      Returns the current value in the number field.
      Returns:
      the current value in the number field.
    • setDefaultNumericValue

      public void setDefaultNumericValue(Double defaultNumericValue)
      Sets the default value that will be presented in the number field.
      Parameters:
      defaultNumericValue - the default value that will be presented in the number field.
    • getDefaultNumericValue

      public Double getDefaultNumericValue()
      Returns the initial value of the object, which is set when the object is reset.
      Returns:
      the initial value of the object, which is set when the object is reset.
    • setMin

      public void setMin(Double min)
      Sets the minimum value that can be entered in the field.
      Parameters:
      min - the minimum value that can be entered in the field.
    • getMin

      public Double getMin()
      Returns the minimum value that can be entered in the field.
      Returns:
      the minimum value that can be entered in the field.
    • setMax

      public void setMax(Double max)
      Sets the maximum value that can be entered in the field.
      Parameters:
      max - the maximum value that can be entered in the field.
    • getMax

      public Double getMax()
      Returns the maximum value that can be entered in the field.
      Returns:
      the maximum value that can be entered in the field.