All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class javax.media.j3d.Leaf

java.lang.Object
   |
   +----javax.media.j3d.SceneGraphObject
           |
           +----javax.media.j3d.Node
                   |
                   +----javax.media.j3d.Leaf

public abstract class Leaf
extends Node
Leaf Node.


Constructor Index

 o Leaf()
Construct and initialize the Leaf object

Method Index

 o updateNodeReferences(NodeReferenceTable)
Callback used to allow a node to check if any nodes referenced by that node have been duplicated via a call to cloneTree.

Constructors

 o Leaf
 public Leaf()
Construct and initialize the Leaf object

Methods

 o updateNodeReferences
 public void updateNodeReferences(NodeReferenceTable referenceTable)
Callback used to allow a node to check if any nodes referenced by that node have been duplicated via a call to cloneTree. This method is called by cloneTree after all nodes in the sub-graph have been duplicated. The cloned Leaf node's method will be called and the Leaf node can then look up any node references by using the getNewNodeReference method found in the NodeReferenceTable object. If a match is found, a reference to the corresponding Node in the newly cloned sub-graph is returned. If no corresponding reference is found, either a DanglingReferenceException is thrown or a reference to the original node is returned depending on the value of the allowDanglingReferences parameter passed in the cloneTree call.

Parameters:
referenceTable - a NodeReferenceTableObject that contains the getNewNodeReference method needed to search for new object instances.
See Also:
NodeReferenceTable, cloneTree, DanglingReferenceException

All Packages  Class Hierarchy  This Package  Previous  Next  Index