|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.j3d.utils.scenegraph.io.state.javax.media.j3d.SceneGraphObjectState
com.sun.j3d.utils.scenegraph.io.state.javax.media.j3d.NodeState
com.sun.j3d.utils.scenegraph.io.state.javax.media.j3d.LeafState
com.sun.j3d.utils.scenegraph.io.state.javax.media.j3d.BehaviorState
public class BehaviorState
Field Summary | |
---|---|
private int |
boundingLeaf
|
Fields inherited from class com.sun.j3d.utils.scenegraph.io.state.javax.media.j3d.SceneGraphObjectState |
---|
control, node, nodeClassName, symbol |
Constructor Summary | |
---|---|
BehaviorState(SymbolTableData symbol,
Controller control)
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.sun.j3d.utils.scenegraph.io.state.javax.media.j3d.SceneGraphObjectState |
---|
cleanup, createNode, createNode, createNode, createState, getNode, getNodeID, getSymbol, readConstructorParams, readString, writeConstructorParams, writeString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int boundingLeaf
Constructor Detail |
---|
public BehaviorState(SymbolTableData symbol, Controller control)
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |