create_node
Description:
Requests that this creates a new TreeNode.
The new node is not in any way linked to this yet, consider this method as a TreeNode factory.
This method is usually used when implementing a TreeManagerNodesFunc function (to create nodes), or when subclassing the TreeManager.
Parameters:
this | |
parent |
the parent the new node may have, or null |
name |
name given to the new node, or null |
Returns:
a new TreeNode |