Share this page

com.hp.lft.sdk.java

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

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

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

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

  Helper class for `TreeViewDescription.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` | `columnsCount(java.lang.Integer columnsCount)` Initializes the number of columns in the tree.
    `T` | `selectedNodes(java.lang.String[] selectedNodes)` Initializes the selected nodes in the tree.
    `T` | `visibleNodesCount(java.lang.Integer visibleNodesCount)` Initializes the number of visible nodes in the tree.

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

      `absoluteLocation, absoluteLocation, absoluteLocation, attachedText, attachedText, backgroundColor, backgroundColor, enabled, focused, foregroundColor, foregroundColor, label, label, location, location, location, nativeClass, nativeClass, objectName, objectName, objectProperties, path, path, size, size, size, tagName, tagName, visible, wrapped`

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

    - #### visibleNodesCount

          public T visibleNodesCount(java.lang.Integer visibleNodesCount)

      Initializes the number of visible nodes in the tree.
      Parameters:
        `visibleNodesCount` - the number of visible nodes in the tree.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### columnsCount

          public T columnsCount(java.lang.Integer columnsCount)

      Initializes the number of columns in the tree.
      Parameters:
        `columnsCount` - the number of columns in the tree.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### selectedNodes

          public T selectedNodes(java.lang.String[] selectedNodes)

      Initializes the selected nodes in the tree.
      Parameters:
        `selectedNodes` - the selected nodes in the tree.
      Returns:
        the description instance with the updated 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: