public class NullSceneGraphObjectState extends SceneGraphObjectState
| Modifier and Type | Field and Description |
|---|---|
(package private) SymbolTableData |
symbolTableData |
control, node, nodeClassName, symbol| Constructor and Description |
|---|
NullSceneGraphObjectState(SymbolTableData symbol,
Controller control)
Dummy class to represent a null object in the scene graph
|
| Modifier and Type | Method and Description |
|---|---|
protected SceneGraphObject |
createNode()
Create a new Java3D node for this object.
|
SceneGraphObject |
getNode() |
int |
getNodeID() |
SymbolTableData |
getSymbol() |
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.
|
buildGraph, cleanup, createNode, createNode, createNode, createState, readConstructorParams, readString, writeConstructorParams, writeStringSymbolTableData symbolTableData
public NullSceneGraphObjectState(SymbolTableData symbol, Controller control)
public void writeObject(java.io.DataOutput out)
throws java.io.IOException
writeObject in class SceneGraphObjectStatejava.io.IOExceptionpublic void readObject(java.io.DataInput in)
throws java.io.IOException
readObject in class SceneGraphObjectStatejava.io.IOExceptionpublic SceneGraphObject getNode()
getNode in class SceneGraphObjectStatepublic int getNodeID()
getNodeID in class SceneGraphObjectStatepublic SymbolTableData getSymbol()
getSymbol in class SceneGraphObjectStateprotected SceneGraphObject createNode()
SceneGraphObjectStatecreateNode in class SceneGraphObjectStateCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.