syn3d.nodes.xith3d
Class BranchGroupNodeXith3D

java.lang.Object
  extended by syn3d.base.ActiveNode
      extended by syn3d.nodes.GroupNode
          extended by syn3d.nodes.BranchGroupNode
              extended by syn3d.nodes.xith3d.BranchGroupNodeXith3D
All Implemented Interfaces:
java.io.Serializable

public class BranchGroupNodeXith3D
extends BranchGroupNode

See Also:
Serialized Form

Field Summary
protected  BranchGroup branchgroup
           
 
Fields inherited from class syn3d.nodes.BranchGroupNode
actions, anonymousNodeNumber, icon
 
Fields inherited from class syn3d.base.ActiveNode
children, name, parent
 
Constructor Summary
BranchGroupNodeXith3D(ActiveNode parent)
           
 
Method Summary
 java.lang.Object get3DObject()
          Returns the 3D object that this node refers to.
 void remove()
          Removes this node from the parent list.
 void setName(java.lang.String name)
           
 
Methods inherited from class syn3d.nodes.BranchGroupNode
doAction, getActions, getIcon, restoreReferences, saveChildren
 
Methods inherited from class syn3d.nodes.GroupNode
getScene
 
Methods inherited from class syn3d.base.ActiveNode
addChild, findDescendantOfType, findDescendantOfType, getChildren, getName, getParent, highlight, notifyInternalChange, notifyStructuralChange, propagateAddChildEvent, propagateChangeNameEvent, propagateHighlightEvent, propagateInternalChangeEvent, propagateRemoveChildEvent, propagateStructuralChangeEvent, removeChild, removeNodeTree, removeNodeTreeFrom, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

branchgroup

protected BranchGroup branchgroup
Constructor Detail

BranchGroupNodeXith3D

public BranchGroupNodeXith3D(ActiveNode parent)
Method Detail

remove

public void remove()
Description copied from class: ActiveNode
Removes this node from the parent list. Notifies the parents for structural change.

Overrides:
remove in class ActiveNode

setName

public void setName(java.lang.String name)
Overrides:
setName in class ActiveNode
Parameters:
name - The name to set.

get3DObject

public java.lang.Object get3DObject()
Description copied from class: ActiveNode
Returns the 3D object that this node refers to. The object may depend on the 3D model used (Xith3D, Java3D) This object was previously created in the plugin create method, or in the loadTo method during de-serialization.

Overrides:
get3DObject in class ActiveNode
Returns:
the Object used for the scene graph, which probably depends on the underlying 3D architecture. This can be used on a parent node in the plugin canCreate method to check for this architecture.