TreeView.setNodes

Overview | Methods | This Package | All Packages

TreeView.setNodes

Adds a set of root nodes to the tree view control.

Syntax

public void setNodes( TreeNode[] nodes )

Parameters

nodes

A zero-based array of TreeNode objects that represent the nodes you want to add to the tree view control.

Remarks

This method removes all existing nodes from the tree view control before inserting the new nodes.

See Also   getNodes