All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.media.j3d.SceneGraphObject | +----java.media.j3d.NodeComponent
originalNodeComponent
into the current node.
public NodeComponent()
public final void setDuplicateOnCloneTree(boolean duplicate)
cloneTree
operation. A value of true
means
that this NodeComponent object should be duplicated, while a value
of false
indicates that this NodeComponent object's
reference will be copied into the newly cloned object. This value
can be overriden via the forceDuplicate
parameter of
the cloneTree
method.
public final boolean getDuplicateOnCloneTree()
cloneTree
operation. A value of true
means
that this NodeComponent object should be duplicated, while a value
of false
indicates that this NodeComponent object's
reference will be copied into the newly cloned object. This value
can be overriden via the forceDuplicate
parameter of
the cloneTree
method.
public NodeComponent cloneNodeComponent()
cloneNode
to duplicate the current node.
cloneNodeComponent
should be overridden by any user
subclassed NodeComponent objects. All subclasses must have their
cloneNodeComponent
method consist of the following lines:
public NodeComponent cloneNodeComponent() { UserNodeComponent unc = new UserNodeComponent(); unc.duplicateNodeComponent(this); return unc; }
public void duplicateNodeComponent(NodeComponent originalNodeComponent)
originalNodeComponent
into the current node. This method is called from the
cloneNodeComponent
method which is, in turn, called
by the cloneNode
method.
All Packages Class Hierarchy This Package Previous Next Index