jsynoptic.plugins.java3d.tree
Class RootNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by jsynoptic.plugins.java3d.tree.AbstractNode
          extended by jsynoptic.plugins.java3d.tree.RootNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode, UniversePool.Listener

public class RootNode
extends AbstractNode
implements UniversePool.Listener

The root of tree node

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jsynoptic.plugins.java3d.tree.AbstractNode
_name
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
RootNode(Tree tree, java.lang.Object graphObject, boolean getChildren)
           
 
Method Summary
protected  java.lang.Class<?> getChildrenNodeClass(java.lang.Object sceneGraphObject)
          According to a child scene graph object, returns the class of the Node to hold it in the Tree
protected  void getSceneGraphChildren(java.util.ArrayList<java.lang.Object> list)
          Get the list of children of this scene graph object
 void notifyChange()
           
 
Methods inherited from class jsynoptic.plugins.java3d.tree.AbstractNode
addResource, addResources, createNode, getAllowsChildren, getChildCount, getDescription, getGraphObject, getIcon, getName, getOwner, getTree, refresh
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getChildAfter, getChildAt, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RootNode

public RootNode(Tree tree,
                java.lang.Object graphObject,
                boolean getChildren)
Method Detail

getChildrenNodeClass

protected java.lang.Class<?> getChildrenNodeClass(java.lang.Object sceneGraphObject)
Description copied from class: AbstractNode
According to a child scene graph object, returns the class of the Node to hold it in the Tree

Specified by:
getChildrenNodeClass in class AbstractNode
Parameters:
sceneGraphObject - a child object of this Node scene graph object
Returns:
the class to use to create the Node
See Also:
createNode

getSceneGraphChildren

protected void getSceneGraphChildren(java.util.ArrayList<java.lang.Object> list)
Description copied from class: AbstractNode
Get the list of children of this scene graph object

Specified by:
getSceneGraphChildren in class AbstractNode
Parameters:
list - the list to fill with the scene graph children

notifyChange

public void notifyChange()
Specified by:
notifyChange in interface UniversePool.Listener