Share this page

com.hp.lft.sdk.powerbuilder

## Class TreeViewDescription

- java.lang.Object
- - com.hp.lft.sdk.internal.PropertiesDescriptionBase
  - - com.hp.lft.sdk.PropertiesDescription
    - - com.hp.lft.sdk.DescriptionBase
      - - com.hp.lft.sdk.powerbuilder.UiObjectBaseDescription
        - - com.hp.lft.sdk.powerbuilder.UiObjectWithLayoutInfoDescription
          - - com.hp.lft.sdk.powerbuilder.TreeViewDescription

- All Implemented Interfaces:
    CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable

      public class TreeViewDescription
      extends UiObjectWithLayoutInfoDescription

  The description of a power builder TreeView object.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `TreeViewDescription.Builder` This class can be used to construct an instance of the TreeViewDescription class using the builder pattern.
    `protected static class` | `TreeViewDescription.Init<T extends TreeViewDescription.Init<T>>` Helper class for TreeViewDescription.Builders.

  - ### Field Summary

    - ### Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase

      `properties`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `` | `TreeViewDescription()` Initializes a new instance of the TreeViewDescription class.
    `protected` | `TreeViewDescription(TreeViewDescription.Init<?> init)` Initializes a new instance of the TreeViewDescription class using the Builder pattern.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Integer` | `getNodesCount()` Returns the number of nodes in the TreeViewDescription.
    `String[]` | `getSelectedNodes()` Returns the selected nodes in the TreeViewDescription.
    `String[]` | `getVisibleNodes()` Returns the visible nodes in the TreeViewDescription.
    `void` | `setNodesCount(Integer count)` Sets the number of nodes in the TreeViewDescription.
    `void` | `setSelectedNodes(String[] selectedNodes)` Sets the selected nodes in the TreeViewDescription.
    `void` | `setVisibleNodes(String[] visibleNodes)` Sets the visible nodes in the TreeViewDescription.

    - ### Methods inherited from class com.hp.lft.sdk.powerbuilder.UiObjectWithLayoutInfoDescription

      `isRightAligned, isRightToLeftLayout, isRightToLeftReading, setRightAligned, setRightToLeftLayout, setRightToLeftReading`

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

      `getAbsoluteLocation, getAttachedText, getLocation, getNativeClass, getObjectName, getSize, getText, getWindowClassRegExp, getWindowExtendedStyle, getWindowId, getWindowStyle, getWindowTitleRegExp, isEnabled, isFocused, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAttachedText, setAttachedText, setEnabled, setFocused, setLocation, setLocation, setLocation, setNativeClass, setNativeClass, setObjectName, setObjectName, setSize, setSize, setSize, setText, setText, setVisible, setWindowClassRegExp, setWindowClassRegExp, setWindowExtendedStyle, setWindowId, setWindowStyle, setWindowTitleRegExp, setWindowTitleRegExp`

    - ### Methods inherited from class com.hp.lft.sdk.DescriptionBase

      `cloneTo, getIndex, getIndexType, getVRI, setIndex, setIndexType, setVRI, setVRI`

    - ### Methods inherited from class com.hp.lft.sdk.PropertiesDescription

      `clone`

    - ### Methods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase

      `getValueAs, getValueAsStringProperty, insertValue`

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface com.hp.lft.sdk.CloneableObject

      `clone`

- - ### Constructor Detail

    - #### TreeViewDescription

          public TreeViewDescription()

      Initializes a new instance of the TreeViewDescription class.

    - #### TreeViewDescription

          protected TreeViewDescription(TreeViewDescription.Init<?> init)

      Initializes a new instance of the TreeViewDescription class using the Builder pattern.
      Parameters:
        `init` - the Builder pattern.

  - ### Method Detail

    - #### setVisibleNodes

          public void setVisibleNodes(String[] visibleNodes)

      Sets the visible nodes in the TreeViewDescription.
      Parameters:
        `visibleNodes` - the items in the TreeViewDescription.

    - #### getVisibleNodes

          public String[] getVisibleNodes()

      Returns the visible nodes in the TreeViewDescription.
      Returns:
        the visible nodes in the TreeViewDescription.

    - #### setSelectedNodes

          public void setSelectedNodes(String[] selectedNodes)

      Sets the selected nodes in the TreeViewDescription.
      Parameters:
        `selectedNodes` - the selected nodes in the TreeViewDescription.

    - #### getSelectedNodes

          public String[] getSelectedNodes()

      Returns the selected nodes in the TreeViewDescription.
      Returns:
        the selected nodes in the TreeViewDescription.

    - #### setNodesCount

          public void setNodesCount(Integer count)

      Sets the number of nodes in the TreeViewDescription.
      Parameters:
        `count` - the number of nodes in the TreeViewDescription.

    - #### getNodesCount

          public Integer getNodesCount()

      Returns the number of nodes in the TreeViewDescription.
      Returns:
        the number of nodes in the TreeViewDescription.

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: