TreeView.setNode

Overview | Methods | This Package | All Packages

TreeView.setNode

Replaces the node at the specified position in the tree view control.

Syntax

public void setNode( int index, TreeNode node )

Parameters

index

The zero-based index of the node you want to replace.

node

A TreeNode object that represents the new node that you want insert in place of the node currently at the specified position.

Exceptions

WFCInvalidArgumentException thrown if the specified index is not valid.

See Also   getNode