Share this page

com.hp.lft.sdk.oracle

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

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

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

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

  Helper class for ButtonDescription.Builder.

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ButtonDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `classPath(String classPath)` Initializes the button's classPath.
    `T` | `classPath(StringProperty classPath)` Initializes the button's classPath.
    `T` | `enabled(Boolean enabled)` Indicates whether the object is enable.
    `T` | `label(String label)` Initializes the button's label.
    `T` | `label(StringProperty label)` Initializes the button's label.
    `T` | `objectDescription(String objectDescription)` Initializes the button's objectDescription.
    `T` | `objectDescription(StringProperty objectDescription)` Initializes the button's objectDescription.
    `T` | `objectName(String objectName)` Initializes the button's objectName.
    `T` | `objectName(StringProperty objectName)` Initializes the button's objectName.
    `T` | `tooltipText(String tooltipText)` Initializes the button's tooltipText.
    `T` | `tooltipText(StringProperty tooltipText)` Initializes the button's tooltipText.

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

      `absoluteLocation, absoluteLocation, absoluteLocation, location, location, location, objectType, objectType, size, size, size`

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

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

    - #### label

          public T label(StringProperty label)

      Initializes the button's label.
      Parameters:
        `label` - the text displayed on the object.
      Returns:
        the description instance with the update state (builder pattern).

    - #### label

          public T label(String label)

      Initializes the button's label.
      Parameters:
        `label` - the text displayed on the object.
      Returns:
        the description instance with the update state (builder pattern).

    - #### classPath

          public T classPath(StringProperty classPath)

      Initializes the button's classPath.
      Parameters:
        `classPath` - the hierarchy of the object's Oracle class.
      Returns:
        the description instance with the update state (builder pattern).

    - #### classPath

          public T classPath(String classPath)

      Initializes the button's classPath.
      Parameters:
        `classPath` - the hierarchy of the object's Oracle class.
      Returns:
        the description instance with the update state (builder pattern).

    - #### enabled

          public T enabled(Boolean enabled)

      Indicates whether the object is enable.
      Parameters:
        `enabled` - true to set as enabled.
      Returns:
        the description instance with the update state (builder pattern).

    - #### objectDescription

          public T objectDescription(StringProperty objectDescription)

      Initializes the button's objectDescription.
      Parameters:
        `objectDescription` - the accessibility description of the object as specified by the server.
      Returns:
        the description instance with the update state (builder pattern).

    - #### objectDescription

          public T objectDescription(String objectDescription)

      Initializes the button's objectDescription.
      Parameters:
        `objectDescription` - the accessibility description of the object as specified by the server.
      Returns:
        the description instance with the update state (builder pattern).

    - #### objectName

          public T objectName(StringProperty objectName)

      Initializes the button's objectName.
      Parameters:
        `objectName` - the internal name of the object supplied by the application server.
      Returns:
        the description instance with the update state (builder pattern).

    - #### objectName

          public T objectName(String objectName)

      Initializes the button's objectName.
      Parameters:
        `objectName` - the internal name of the object supplied by the application server.
      Returns:
        the description instance with the update state (builder pattern).

    - #### tooltipText

          public T tooltipText(StringProperty tooltipText)

      Initializes the button's tooltipText.
      Parameters:
        `tooltipText` - the text displayed in the object's tooltip.
      Returns:
        the description instance with the update state (builder pattern).

    - #### tooltipText

          public T tooltipText(String tooltipText)

      Initializes the button's tooltipText.
      Parameters:
        `tooltipText` - the text displayed in the object's tooltip.
      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: