Share this page

com.hp.lft.sdk.java

# Class TreeViewTableDescription

Supported on UFT Developer versions 15.0.1 and later

- java.lang.Object
- - com.hp.lft.sdk.internal.PropertiesDescriptionBase
  - - com.hp.lft.sdk.PropertiesDescription
    - - com.hp.lft.sdk.DescriptionBase
      - - com.hp.lft.sdk.java.UiObjectBaseDescription
        - - com.hp.lft.sdk.java.TreeViewTableDescription

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

      public class TreeViewTableDescription
      extends UiObjectBaseDescription

  The description of a Java TreeViewTable test object.
  Note: The TreeViewTable test object is supported only on JavaFX.

- - ### Nested Class Summary

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

  - ### Field Summary

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

      `properties`

  - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String[]` | `getColumnHeaders()` Returns the collection of column headers in a table.
    `Integer` | `getColumnsCount()` Returns the number of columns in the tree.
    `Integer` | `getRowsCount()` Returns the number of rows in a table.
    `String[]` | `getSelectedNodes()` Returns the selected nodes in the tree.
    `void` | `setColumnHeaders(String[] columnHeaders)` Sets a collection of column headers in a table.
    `void` | `setColumnsCount(Integer columnsCount)` Sets the number of columns in the tree.
    `void` | `setRowsCount(Integer rowsCount)` Sets the number of rows in a table.
    `void` | `setSelectedNodes(String[] selectedNodes)` Sets the selected nodes in the tree.

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

      `getAbsoluteLocation, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getLocation, getNativeClass, getObjectName, getObjectProperties, getPath, getSize, getTagName, isEnabled, isFocused, isVisible, isWrapped, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAttachedText, setAttachedText, setBackgroundColor, setBackgroundColor, setEnabled, setFocused, setForegroundColor, setForegroundColor, setLabel, setLabel, setLocation, setLocation, setLocation, setNativeClass, setNativeClass, setObjectName, setObjectName, setObjectProperties, setPath, setPath, setSize, setSize, setSize, setTagName, setTagName, setVisible, setWrapped`

    - ### 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

    - #### TreeViewTableDescription

          public TreeViewTableDescription()

      Initializes a new instance of the `TreeViewTableDescription` class.

    - #### TreeViewTableDescription

          protected TreeViewTableDescription(TreeViewTableDescription.Init<?> init)

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

  - ### Method Detail

    - #### setRowsCount

          public void setRowsCount(Integer rowsCount)

      Sets the number of rows in a table.
      Parameters:
        `rowsCount` - the number of rows in a table.

    - #### getRowsCount

          public Integer getRowsCount()

      Returns the number of rows in a table.
      Returns:
        the number of rows in a table.

    - #### setColumnsCount

          public void setColumnsCount(Integer columnsCount)

      Sets the number of columns in the tree.
      Parameters:
        `columnsCount` - the number of columns in the tree.

    - #### getColumnsCount

          public Integer getColumnsCount()

      Returns the number of columns in the tree.
      Returns:
        the number of columns in the tree.

    - #### setColumnHeaders

          public void setColumnHeaders(String[] columnHeaders)

      Sets a collection of column headers in a table.
      Parameters:
        `columnHeaders` - a collection of column headers in a table.

    - #### getColumnHeaders

          public String[] getColumnHeaders()

      Returns the collection of column headers in a table.
      Returns:
        the collection of column headers in a table.

    - #### setSelectedNodes

          public void setSelectedNodes(String[] selectedNodes)

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

    - #### getSelectedNodes

          public String[] getSelectedNodes()

      Returns the selected nodes in the tree.
      Returns:
        the selected nodes in the tree.

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: