public class BehaviorState extends LeafState
control, node, nodeClassName, symbol
Constructor and Description |
---|
BehaviorState(SymbolTableData symbol,
Controller control) |
Modifier and Type | Method and Description |
---|---|
void |
buildGraph()
Subclasses should processes their own buildGraph requirements BEFORE
calling super.buildGraph().
|
protected SceneGraphObject |
createNode(java.lang.String className)
Create a new J3D node from the supplied class name using the parameterless constructor
For J3D nodes which do not have a default constructor you must
overload this method and create the object using createNode( className, parameters )
This will correctly handle subclasses of J3D classes
|
void |
readObject(java.io.DataInput in) |
void |
writeObject(java.io.DataOutput out)
DO NOT call symbolTable.addReference in writeObject as this (may)
result in a concurrentModificationException.
|
cleanup, createNode, createNode, createNode, createState, getNode, getNodeID, getSymbol, readConstructorParams, readString, writeConstructorParams, writeString
public BehaviorState(SymbolTableData symbol, Controller control)
protected SceneGraphObject createNode(java.lang.String className)
SceneGraphObjectState
createNode
in class SceneGraphObjectState
public void writeObject(java.io.DataOutput out) throws java.io.IOException
SceneGraphObjectState
writeObject
in class NodeState
java.io.IOException
public void readObject(java.io.DataInput in) throws java.io.IOException
readObject
in class NodeState
java.io.IOException
public void buildGraph()
SceneGraphObjectState
buildGraph
in class SceneGraphObjectState