Share this page

com.hp.lft.sdk.web

## Interface TreeViewNode

-     public interface TreeViewNode

  A single node in a Web Tree.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `void` | `collapse()` Collapses this tree node. There may be a slight delay when using this method due to the animation of the collapse operation.
    `void` | `expand()` Expands this tree node. There may be a slight delay when using this method due to the animation of the expand operation.
    `java.lang.String` | `getPath()` Returns the full path of this node as a semi-colon delimited string.

- - ### Method Detail

    - #### getPath

          java.lang.String getPath()
                            throws GeneralLeanFtException

      Returns the full path of this node as a semi-colon delimited string.
      Returns:
        the full path of this node as a semi-colon delimited string.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### collapse

          void collapse()
                 throws GeneralLeanFtException

      Collapses this tree node.
      There may be a slight delay when using this method due to the animation of the collapse operation. You should add a Sleep statement after this step to pause for the animation.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### expand

          void expand()
               throws GeneralLeanFtException

      Expands this tree node.
      There may be a slight delay when using this method due to the animation of the expand operation. You should add a Sleep statement after this step to pause for the animation.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

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: