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(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(DataInput in) |
void |
writeObject(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(String className)
SceneGraphObjectStatecreateNode in class SceneGraphObjectStatepublic void writeObject(DataOutput out) throws IOException
SceneGraphObjectStatewriteObject in class NodeStateIOExceptionpublic void readObject(DataInput in) throws IOException
readObject in class NodeStateIOExceptionpublic void buildGraph()
SceneGraphObjectStatebuildGraph in class SceneGraphObjectStateCopyright © 2016–2022 SciJava. All rights reserved.