Public Member Functions

BinNavi.API.helpers.TreeNode< ObjectType > Class Reference

Represents a node of a tree. More...

List of all members.

Public Member Functions

List< TreeNode< ObjectType > > getChildren ()
 Child nodes of the tree node.
ObjectType getObject ()
 Object stored in the tree node.
TreeNode< ObjectType > getParent ()
 Parent node of the tree node.
String toString ()
 Printable representation of the tree node.

Detailed Description

Represents a node of a tree.

Parameters:
<ObjectType> Type of the object stored in the node.

Member Function Documentation

List<TreeNode<ObjectType> > BinNavi.API.helpers.TreeNode< ObjectType >.getChildren (  ) 

Returns the children of the tree node.

Returns:
A list of tree nodes.
ObjectType BinNavi.API.helpers.TreeNode< ObjectType >.getObject (  ) 

Returns the object stored in the tree node.

Returns:
The object stored in the tree node.
TreeNode<ObjectType> BinNavi.API.helpers.TreeNode< ObjectType >.getParent (  ) 

Returns the parent of the tree node. If the node is the root node of the tree, the return value is null.

Returns:
The parent node of the node or null.
String BinNavi.API.helpers.TreeNode< ObjectType >.toString (  ) 

Returns a string representation of the tree node.

Returns:
A string representation of the tree node.