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, writeString
public BehaviorState(SymbolTableData symbol, Controller control)
protected SceneGraphObject createNode(String className)
SceneGraphObjectState
createNode
in class SceneGraphObjectState
public void writeObject(DataOutput out) throws IOException
SceneGraphObjectState
writeObject
in class NodeState
IOException
public void readObject(DataInput in) throws IOException
readObject
in class NodeState
IOException
public void buildGraph()
SceneGraphObjectState
buildGraph
in class SceneGraphObjectState
Copyright © 2016–2022 SciJava. All rights reserved.