Open topic with navigation

com.hp.lft.sdk.sap.gui

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

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.sap.gui.ElementDescription.Init<T>
    - - com.hp.lft.sdk.sap.gui.ButtonDescription.Init<T>

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

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

  Helper class for ButtonDescription.Builder.

- - ### Constructor Summary

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

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `ButtonDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `containerName(java.lang.String containerName)` Initializes name of the parent object.
    `T` | `containerName(StringProperty containerName)` Initializes name of the parent object.
    `T` | `enabled(java.lang.Boolean enabled)` Initializes whether the object can accept user input.
    `T` | `text(java.lang.String text)` Initializes text associated with the object.
    `T` | `text(StringProperty text)` Initializes text associated with the object.
    `T` | `tooltip(java.lang.String tooltip)` Initializes value of the object's tooltip.
    `T` | `tooltip(StringProperty tooltip)` Initializes value of the object's tooltip.

    - ### Methods inherited from class com.hp.lft.sdk.sap.gui.ElementDescription.Init

      `absoluteLocation, absoluteLocation, absoluteLocation, id, id, location, location, location, name, name, size, size, size, type`

    - ### 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 `ElementDescription.Init<T extends ButtonDescription.Init<T>>`
      Returns:
        The built description instance (builder pattern).

    - #### tooltip

          public T tooltip(StringProperty tooltip)

      Initializes value of the object's tooltip.
      Parameters:
        `tooltip` - a `StringProperty` or `RegExpProperty`.
      Returns:
        the description instance with the update state (builder pattern).

    - #### tooltip

          public T tooltip(java.lang.String tooltip)

      Initializes value of the object's tooltip.
      Parameters:
        `tooltip` - the value of the object's tooltip.
      Returns:
        the description instance with the update state (builder pattern).

    - #### containerName

          public T containerName(StringProperty containerName)

      Initializes name of the parent object.
      Parameters:
        `containerName` - a `StringProperty` or `RegExpProperty`.
      Returns:
        the description instance with the update state (builder pattern).

    - #### containerName

          public T containerName(java.lang.String containerName)

      Initializes name of the parent object.
      Parameters:
        `containerName` - the name of the parent object.
      Returns:
        the description instance with the update state (builder pattern).

    - #### text

          public T text(StringProperty text)

      Initializes text associated with the object.
      Parameters:
        `text` - a `StringProperty` or `RegExpProperty`.
      Returns:
        the description instance with the update state (builder pattern).

    - #### text

          public T text(java.lang.String text)

      Initializes text associated with the object.
      Parameters:
        `text` - the text associated with the object.
      Returns:
        the description instance with the update state (builder pattern).

    - #### enabled

          public T enabled(java.lang.Boolean enabled)

      Initializes whether the object can accept user input.
      Parameters:
        `enabled` - true to set as enabled.
      Returns:
        the description instance with the update state (builder pattern).