Microsoft SDK for Java

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

© 1999 Microsoft Corporation. All rights reserved. Terms of use.