code: public void setRootNode(TreeElement rootNode)
      {
          _rootNode = rootNode;
          if (rootNode.getName() == null) {
              rootNode.setName("0");
          }
      }
docs: Sets the root <code>TreeElement</code> of this tree.
  @param rootNode the root treeNode