Open topic with navigation

com.hp.lft.sdk.sap.gui

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

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

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

  Helper class for TreeDescription.Builder.

- - ### Constructor Summary

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

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `TreeViewDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `enabled(java.lang.Boolean enabled)` Initializes whether the object is enabled.
    `T` | `selectedItem(java.lang.String selectedItem)` Initializes the selected item in the tree.
    `T` | `selectedItem(StringProperty selectedItem)` Initializes the selected item in the tree.
    `T` | `selectedNodePath(java.lang.String selectedNodePath)` Initializes the path of the selected node in the tree
    `T` | `selectedNodePath(StringProperty selectedNodePath)` Initializes the path of the selected node in the tree.
    `T` | `selectionMode(TreeSelectionMode mode)` Initializes which selections can be made.
    `T` | `treeType(TreeType type)` Initializes the type of the tree.

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

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

    - #### enabled

          public T enabled(java.lang.Boolean enabled)

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

    - #### treeType

          public T treeType(TreeType type)

      Initializes the type of the tree.
      Parameters:
        `type` - the type of the tree.
      Returns:
        the description instance with the update state (builder pattern).

    - #### selectionMode

          public T selectionMode(TreeSelectionMode mode)

      Initializes which selections can be made.
      Parameters:
        `mode` - the selection mode.
      Returns:
        the description instance with the update state (builder pattern).

    - #### selectedItem

          public T selectedItem(java.lang.String selectedItem)

      Initializes the selected item in the tree.
      Parameters:
        `selectedItem` - the selected item.
      Returns:
        the description instance with the update state (builder pattern)

    - #### selectedItem

          public T selectedItem(StringProperty selectedItem)

      Initializes the selected item in the tree.
      Parameters:
        `selectedItem` - a `StringProperty` or `RegExpProperty`.
      Returns:
        the description instance with the update state (builder pattern)

    - #### selectedNodePath

          public T selectedNodePath(java.lang.String selectedNodePath)

      Initializes the path of the selected node in the tree
      Parameters:
        `selectedNodePath` - the path of the selected node.
      Returns:
        the description instance with the update state (builder pattern)

    - #### selectedNodePath

          public T selectedNodePath(StringProperty selectedNodePath)

      Initializes the path of the selected node in the tree.
      Parameters:
        `selectedNodePath` - a `StringProperty` or `RegExpProperty`.
      Returns:
        the description instance with the update state (builder pattern)