Retrieves the number of root nodes contained in the tree view control.
public int getNodeCount()
public int getNodeCount( boolean includeSubTrees )
includeSubTrees
Set to true to include all nodes in the tree view control; set to false (or omit) to include only root nodes.
Returns an integer that represents the number of nodes contained in the tree view control.