Share this page

com.hp.lft.sdk.java

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

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.java.UiObjectBaseDescription.Init<T>
    - - com.hp.lft.sdk.java.SpinBoxDescription.Init<T>

- Direct Known Subclasses:
    SpinBoxDescription.Builder
  Enclosing class:
    SpinBoxDescription

      protected abstract static class SpinBoxDescription.Init<T extends SpinBoxDescription.Init<T>>
      extends UiObjectBaseDescription.Init<T>

  Helper class for SpinBoxDescription.Builder.

- - ### Constructor Summary

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

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `SpinBoxDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `maximum(java.lang.String max)` Initializes the maximum value of the spin box.
    `T` | `maximum(StringProperty max)` Initializes the maximum value of the spin box.
    `T` | `minimum(java.lang.String min)` Initializes the minimum value of the spin box.
    `T` | `minimum(StringProperty min)` Initializes the minimum value of the spin box.
    `T` | `value(java.lang.String value)` Initializes the spin box value.
    `T` | `value(StringProperty value)` Initializes the spin box value.

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

      `absoluteLocation, absoluteLocation, absoluteLocation, attachedText, attachedText, backgroundColor, backgroundColor, enabled, focused, foregroundColor, foregroundColor, label, label, location, location, location, nativeClass, nativeClass, objectName, objectName, objectProperties, path, path, size, size, size, tagName, tagName, visible, wrapped`

    - ### 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 SpinBoxDescription build()

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

    - #### value

          public T value(StringProperty value)

      Initializes the spin box value.
      Parameters:
        `value` - a `StringProperty` or `RegExpProperty` representing the spin box value.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### value

          public T value(java.lang.String value)

      Initializes the spin box value.
      Parameters:
        `value` - the spin box value.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### maximum

          public T maximum(StringProperty max)

      Initializes the maximum value of the spin box.
      Parameters:
        `max` - a `StringProperty` or `RegExpProperty` representing the maximum value of the spin box.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### maximum

          public T maximum(java.lang.String max)

      Initializes the maximum value of the spin box.
      Parameters:
        `max` - the maximum value of the spin box.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### minimum

          public T minimum(StringProperty min)

      Initializes the minimum value of the spin box.
      Parameters:
        `min` - a `StringProperty` or `RegExpProperty` representing the minimum value of the spin box.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### minimum

          public T minimum(java.lang.String min)

      Initializes the minimum value of the spin box.
      Parameters:
        `min` - the minimum value of the spin box.
      Returns:
        the description instance with the updated 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: