Open topic with navigation

com.hp.lft.sdk.sap.gui

## Class EditorDescription.Init<T extends EditorDescription.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.EditorDescription.Init<T>

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

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

  Helper class for EditorDescription.Builder.

- - ### Constructor Summary

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

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `EditorDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `enabled(java.lang.Boolean enabled)` Initializes whether the editor can accept user input.
    `T` | `text(java.lang.String text)` Initializes the text of the editor.
    `T` | `text(StringProperty text)` Initializes the text of the editor.

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

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

    - #### text

          public T text(StringProperty text)

      Initializes the text of the editor.
      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 the text of the editor.
      Parameters:
        `text` - the text.
      Returns:
        the description instance with the update state (builder pattern).

    - #### enabled

          public T enabled(java.lang.Boolean enabled)

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