Open topic with navigation

com.hp.lft.sdk.java

# Interface SpinBox

- All Superinterfaces:
    Clickable, DoubleClickable, LocationInfoProvider, SupportsNativeObject, TestObject, TestObjectDescriber, UiObjectBase, VisibleProvider, WaitUntilVisibleProvider, WaitUntilEnabledProvider, EnabledProvider

      public interface SpinBox
      extends UiObjectBase, TestObject

  A Java spin box object.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `void` | `down()` Sets this spin box to the next lower value.
    `java.lang.String` | `getMaximum()` Returns the maximum value of the spin box.
    `java.lang.String` | `getMinimum()` Returns the minimum value of the spin box.
    `java.lang.String` | `getValue()` Returns the spin box value.
    `void` | `setValue(java.lang.String value)` Sets the spin box value.
    `void` | `up()` Sets this spin box to the next higher value.

    - ### Methods inherited from interface com.hp.lft.sdk.java.UiObjectBase

      `createObject, createObject, fireEvent, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getNativeClass, getObjectName, getObjectProperty, getPath, getStatics, getTagName, isEnabled, isFocused, isVisible, sendKeys, sendKeys`

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

      `click, click, click`

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

      `doubleClick, doubleClick, doubleClick`

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

      `getAbsoluteLocation, getLocation, getSize`

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

      `getNativeObject`

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

      `exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExists`

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

      `describe`

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

      `waitUntilEnabled, waitUntilEnabled`

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

      `isEnabled`

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

      `waitUntilVisible, waitUntilVisible`

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

      `isVisible`

- - ### Method Detail

    - #### up

          void up()
           throws GeneralLeanFtException

      Sets this spin box to the next higher value.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### down

          void down()
             throws GeneralLeanFtException

      Sets this spin box to the next lower value.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getValue

          java.lang.String getValue()
                             throws GeneralLeanFtException

      Returns the spin box value.
      Returns:
        the spin box value.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### setValue

          void setValue(java.lang.String value)
                 throws GeneralLeanFtException

      Sets the spin box value.
      Parameters:
        `value` - the value of the spin box.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getMaximum

          java.lang.String getMaximum()
                               throws GeneralLeanFtException

      Returns the maximum value of the spin box.
      Returns:
        the maximum value of the spin box.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getMinimum

          java.lang.String getMinimum()
                               throws GeneralLeanFtException

      Returns the minimum value of the spin box.
      Returns:
        the minimum value of the spin box.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.