Open topic with navigation

com.hp.lft.sdk.java

# Class SpinBoxDescription

- java.lang.Object
- - com.hp.lft.sdk.internal.PropertiesDescriptionBase
  - - com.hp.lft.sdk.PropertiesDescription
    - - com.hp.lft.sdk.DescriptionBase
      - - com.hp.lft.sdk.java.UiObjectBaseDescription
        - - com.hp.lft.sdk.java.SpinBoxDescription

- All Implemented Interfaces:
    CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, java.lang.Cloneable

      public class SpinBoxDescription
      extends UiObjectBaseDescription

  The description of a Java SpinBox test object.

- - ### Nested Class Summary

    Modifier and Type | Class and Description
    --- | ---
    `static class` | `SpinBoxDescription.Builder` This class can be used to construct an instance of the SpinBoxDescription class using the builder pattern.
    `protected static class` | `SpinBoxDescription.Init<T extends SpinBoxDescription.Init<T>>` Helper class for SpinBoxDescription.Builder.

  - ### Field Summary

    - ### Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase

      `properties`

  - ### Constructor Summary

    Modifier | Constructor and Description
    --- | ---
    `` | `SpinBoxDescription()` Initializes a new instance of the SpinBoxDescription class.
    `protected` | `SpinBoxDescription(SpinBoxDescription.Init<?> init)` Initializes a new instance of the SpinBoxDescription class using the Builder pattern.

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `StringProperty` | `getMaximum()` Returns the maximum value of the spin box.
    `StringProperty` | `getMinimum()` Returns the minimum value of the spin box.
    `StringProperty` | `getValue()` Returns the spin box value.
    `void` | `setMaximum(java.lang.String max)` Sets the maximum value of the spin box.
    `void` | `setMaximum(StringProperty max)` Sets the maximum value of the spin box.
    `void` | `setMinimum(java.lang.String min)` Sets the minimum value of the spin box.
    `void` | `setMinimum(StringProperty min)` Sets the minimum value of the spin box.
    `void` | `setValue(java.lang.String value)` Sets the spin box value.
    `void` | `setValue(StringProperty value)` Sets the spin box value.

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

      `getAbsoluteLocation, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getLocation, getNativeClass, getObjectName, getPath, getSize, getTagName, isEnabled, isFocused, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAttachedText, setAttachedText, setBackgroundColor, setBackgroundColor, setEnabled, setFocused, setForegroundColor, setForegroundColor, setLabel, setLabel, setLocation, setLocation, setLocation, setNativeClass, setNativeClass, setObjectName, setObjectName, setPath, setPath, setSize, setSize, setSize, setTagName, setTagName, setVisible`

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

      `cloneTo, getIndex, getIndexType, getVRI, setIndex, setIndexType, setVRI, setVRI`

    - ### Methods inherited from class com.hp.lft.sdk.PropertiesDescription

      `clone`

    - ### Methods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase

      `getValueAs, getValueAsStringProperty, insertValue`

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

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

    - ### Methods inherited from interface com.hp.lft.sdk.CloneableObject

      `clone`

- - ### Constructor Detail

    - #### SpinBoxDescription

          public SpinBoxDescription()

      Initializes a new instance of the SpinBoxDescription class.

    - #### SpinBoxDescription

          protected SpinBoxDescription(SpinBoxDescription.Init<?> init)

      Initializes a new instance of the SpinBoxDescription class using the Builder pattern.
      Parameters:
        `init` - Builder pattern

  - ### Method Detail

    - #### getValue

          public StringProperty getValue()

      Returns the spin box value.
      Returns:
        the spin box value.

    - #### setValue

          public void setValue(StringProperty value)

      Sets the spin box value.
      Parameters:
        `value` - a `StringProperty` or `RegExpProperty` representing the value of the spin box.

    - #### setValue

          public void setValue(java.lang.String value)

      Sets the spin box value.
      Parameters:
        `value` - the value of the spin box.

    - #### getMaximum

          public StringProperty getMaximum()

      Returns the maximum value of the spin box.
      Returns:
        the maximum value of the spin box.

    - #### setMaximum

          public void setMaximum(StringProperty max)

      Sets the maximum value of the spin box.
      Parameters:
        `max` - a `StringProperty` or `RegExpProperty` representing the maximum value of the spin box.

    - #### setMaximum

          public void setMaximum(java.lang.String max)

      Sets the maximum value of the spin box.
      Parameters:
        `max` - the maximum value of the spin box.

    - #### getMinimum

          public StringProperty getMinimum()

      Returns the minimum value of the spin box.
      Returns:
        the minimum value of the spin box.

    - #### setMinimum

          public void setMinimum(StringProperty min)

      Sets the minimum value of the spin box.
      Parameters:
        `min` - a `StringProperty` or `RegExpProperty` representing the minimum value of the spin box.

    - #### setMinimum

          public void setMinimum(java.lang.String min)

      Sets the minimum value of the spin box.
      Parameters:
        `min` - the minimum value of the spin box.