Share this page

com.hp.lft.sdk.web

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

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.web.WebBaseDescription.Init<T>
    - - com.hp.lft.sdk.web.WebElementDescription.Init<T>
      - - com.hp.lft.sdk.web.TreeViewDescription.Init<T>

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

      protected abstract static class TreeViewDescription.Init<T extends TreeViewDescription.Init<T>>
      extends WebElementDescription.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` | `firstNode(java.lang.String firstNode)` Initializes the first node in the list of nodes in this tree.
    `T` | `firstNode(StringProperty firstNode)` Initializes the first node in the list of nodes in this tree.
    `T` | `selectedNodePath(java.lang.String selectedNodePath)` Initializes the path of the currently selected item in this tree.
    `T` | `selectedNodePath(StringProperty selectedNodePath)` Initializes the path of the currently selected item in this tree.

    - ### Methods inherited from class com.hp.lft.sdk.web.WebElementDescription.Init

      `accessibilityName, accessibilityName, cssSelector, cssSelector, role, role, xpath, xpath`

    - ### Methods inherited from class com.hp.lft.sdk.web.WebBaseDescription.Init

      `absoluteLocation, absoluteLocation, absoluteLocation, attribute, attribute, attributes, className, className, id, id, innerHTML, innerHTML, innerText, innerText, location, location, location, name, name, outerHTML, outerHTML, outerText, outerText, size, size, size, style, style, styles, tagName, tagName, title, title, visible`

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

    - #### selectedNodePath

          public T selectedNodePath(java.lang.String selectedNodePath)

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

    - #### selectedNodePath

          public T selectedNodePath(StringProperty selectedNodePath)

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

    - #### firstNode

          public T firstNode(java.lang.String firstNode)

      Initializes the first node in the list of nodes in this tree.
      Parameters:
        `firstNode` - the first node in the list of nodes in this tree.
      Returns:
        the description instance with the update state (builder pattern).

    - #### firstNode

          public T firstNode(StringProperty firstNode)

      Initializes the first node in the list of nodes in this tree.
      Parameters:
        `firstNode` - a StringProperty (or RegExpProperty) representing the first node in the list of nodes in this tree.
      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: