syn3d.nodes.xith3d
Class SwitchNodeXith3D

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

public class SwitchNodeXith3D
extends SwitchNode

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class syn3d.nodes.SwitchNode
SwitchNode.Action
 
Field Summary
protected  Switch sw
           
 
Fields inherited from class syn3d.nodes.SwitchNode
anonymousNodeNumber, icon, status
 
Fields inherited from class syn3d.base.ActiveNode
children, name, parent
 
Constructor Summary
SwitchNodeXith3D(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.SwitchNode
addChild, doAction, getActions, getIcon, getStatus, removeChild, restoreReferences, saveChildren, setStatus
 
Methods inherited from class syn3d.nodes.GroupNode
getScene
 
Methods inherited from class syn3d.base.ActiveNode
findDescendantOfType, findDescendantOfType, getChildren, getName, getParent, highlight, notifyInternalChange, notifyStructuralChange, propagateAddChildEvent, propagateChangeNameEvent, propagateHighlightEvent, propagateInternalChangeEvent, propagateRemoveChildEvent, propagateStructuralChangeEvent, removeNodeTree, removeNodeTreeFrom, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sw

protected Switch sw
Constructor Detail

SwitchNodeXith3D

public SwitchNodeXith3D(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.