Set the list of nodes to be displayed. This method first checks whether all nodes have a common parent and calls the method setRootNode(GPNode) (with you should have called instead of this one). If not, it creates a root node and creates a ChildrenManager for the nodes. In other words, you cannot use this method if you want to use your own ChildrenManager implementation to control the displayed list of nodes. Use this method preferably if you have an array of nodes without a common parent, and if you do not need to use your own ChildrenManager.
Note that you can still get hold of the siblings of one of your GPNode object with the GPNode#getNodeCollection method.
- Parameters:
-
|