Share this page

com.hp.lft.sdk.web

## Class NumericFieldDescription.Init<T extends NumericFieldDescription.Init<T>>

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.web.WebBaseDescription.Init<T>
    - - com.hp.lft.sdk.web.WebElementDescription.Init<T>
      - - com.hp.lft.sdk.web.FormFieldDescription.Init<T>
        - - com.hp.lft.sdk.web.EditFieldBaseDescription.Init<T>
          - - com.hp.lft.sdk.web.EditFieldDescription.Init<T>
            - - com.hp.lft.sdk.web.NumericFieldDescription.Init<T>

- Direct Known Subclasses:
    NumericFieldDescription.Builder, SliderDescription.Init
  Enclosing class:
    NumericFieldDescription

      protected abstract static class NumericFieldDescription.Init<T extends NumericFieldDescription.Init<T>>
      extends EditFieldDescription.Init<T>

  Helper class for NumericFieldDescription.Builder.

- - ### Constructor Summary

    Modifier | Constructor and Description
    --- | ---
    `protected` | `Init()`

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `NumericFieldDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `defaultNumericValue(java.lang.Double defaultNumericValue)` Initializes the initial value of the object, which is set when the object is reset.
    `T` | `max(java.lang.Double max)` Initializes the maximum value that can be entered in the field.
    `T` | `min(java.lang.Double min)` Initializes the minimum value that can be entered in the field.
    `T` | `numericValue(java.lang.Double numericValue)` Initializes the current value in the number field.

    - ### Methods inherited from class com.hp.lft.sdk.web.EditFieldDescription.Init

      `defaultValue, defaultValue, maxLength, pattern, pattern, rowsCount`

    - ### Methods inherited from class com.hp.lft.sdk.web.EditFieldBaseDescription.Init

      `maxCharsInLine, placeholder, placeholder, readOnly, required, value, value`

    - ### Methods inherited from class com.hp.lft.sdk.web.FormFieldDescription.Init

      `type, type`

    - ### Methods inherited from class com.hp.lft.sdk.web.WebElementDescription.Init

      `accessibilityName, accessibilityName, cssSelector, cssSelector, role, role, xpath, xpath`

    - ### Methods inherited from class com.hp.lft.sdk.web.WebBaseDescription.Init

      `absoluteLocation, absoluteLocation, absoluteLocation, attribute, attribute, attributes, className, className, id, id, innerHTML, innerHTML, innerText, innerText, location, location, location, name, name, outerHTML, outerHTML, outerText, outerText, size, size, size, style, style, styles, tagName, tagName, title, title, visible`

    - ### Methods inherited from class com.hp.lft.sdk.DescriptionBase.Init

      `index, self, vri, vri`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Init

          protected Init()

  - ### Method Detail

    - #### build

          public NumericFieldDescription build()

      Description copied from class: `DescriptionBase.Init`
      Returns the built description instance (builder pattern).
      Overrides:
        `build` in class `EditFieldDescription.Init<T extends NumericFieldDescription.Init<T>>`
      Returns:
        The built description instance (builder pattern).

    - #### numericValue

          public T numericValue(java.lang.Double numericValue)

      Initializes the current value in the number field.
      Parameters:
        `numericValue` - the current value in the number field.
      Returns:
        the description instance with the update state (builder pattern).

    - #### defaultNumericValue

          public T defaultNumericValue(java.lang.Double defaultNumericValue)

      Initializes the initial value of the object, which is set when the object is reset.
      Parameters:
        `defaultNumericValue` - the initial value of the object, which is set when the object is reset.
      Returns:
        the description instance with the update state (builder pattern).

    - #### min

          public T min(java.lang.Double min)

      Initializes the minimum value that can be entered in the field.
      Parameters:
        `min` - the minimum value that can be entered in the field.
      Returns:
        the description instance with the update state (builder pattern).

    - #### max

          public T max(java.lang.Double max)

      Initializes the maximum value that can be entered in the field.
      Parameters:
        `max` - the maximum value that can be entered in the field.
      Returns:
        the description instance with the update state (builder pattern).

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: