Share this page

ITreeViewBase Interface
The base interface for Java trees.

C# Syntax

    public interface ITreeViewBase

Public Methods

| Name | Description
--- | --- | ---
| BuildNodePath | Returns the path of a node in the tree. C# Syntax

    string BuildNodePath(
       params object[] nodePathParts
    )
Parameters nodePathParts The tree node path parts can be: text(string) or numeric index(int). Index values are 0-based. For a full path, separate items with commas.
| Deselect | Clears the selection of nodes in the tree by node paths. C# Syntax
    void Deselect(
       params string[] nodesPaths
    )
Parameters nodesPaths The paths of the nodes to deselect Tip: Use the BuildNodePath method to build the node path strings to be used as arguments for this method
| DeselectRange | Clears the selection of the specified range of nodes in a tree. Tip: Use the BuildNodePath method to build the node path strings to be used as the fromNodePath and toNodePath arguments for this method. C# Syntax

    void DeselectRange(
       string fromNodePath,
       string toNodePath
    )
Parameters fromNodePath 0-based index of the first node in the range toNodePath 0-based index of the last node of the range
| ExtendSelect | Selects additional nodes in the tree. C# Syntax
    void ExtendSelect(
       params string[] nodePaths
    )
Parameters nodePaths The paths of the nodes to add to the selection.
| Select | Selects the specified nodes in the tree by nodes paths. C# Syntax
    void Select(
       params string[] nodesPaths
    )
Parameters nodesPaths The paths of the nodes to select in the tree.
| SelectRange | Selects the specified range of nodes in the tree. C# Syntax
    void SelectRange(
       string fromNodePath,
       string toNodePath
    )
Parameters fromNodePath The path of the first node in the range toNodePath The path of the last node of the range Tip: Use the BuildNodePath method to build the node path strings to be used as the fromNodePath and toNodePath arguments for this method.

Top

Tips to improve your search results... UFT Developer .NET 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: