public class BehaviorState extends LeafState
| Modifier and Type | Field and Description |
|---|---|
private int |
boundingLeaf |
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 Java3D node from the supplied class name using the parameterless constructor
For Java3D 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 Java3D 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, writeStringpublic BehaviorState(SymbolTableData symbol, Controller control)
protected SceneGraphObject createNode(java.lang.String className)
SceneGraphObjectStatecreateNode in class SceneGraphObjectStatepublic void writeObject(java.io.DataOutput out)
throws java.io.IOException
SceneGraphObjectStatewriteObject in class NodeStatejava.io.IOExceptionpublic void readObject(java.io.DataInput in)
throws java.io.IOException
readObject in class NodeStatejava.io.IOExceptionpublic void buildGraph()
SceneGraphObjectStatebuildGraph in class SceneGraphObjectStateCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.