public class AlternateAppearanceState extends LeafState
control, node, nodeClassName, symbol| Constructor and Description |
|---|
AlternateAppearanceState(SymbolTableData symbol,
Controller control) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubReference()
Called when this component reference count is incremented.
|
void |
buildGraph()
Subclasses should processes their own buildGraph requirements BEFORE
calling super.buildGraph().
|
protected javax.media.j3d.SceneGraphObject |
createNode()
Create a new Java3D node for this object.
|
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 AlternateAppearanceState(SymbolTableData symbol, Controller control)
public void writeObject(DataOutput out) throws IOException
SceneGraphObjectStatewriteObject in class NodeStateIOExceptionpublic void readObject(DataInput in) throws IOException
readObject in class NodeStateIOExceptionpublic void addSubReference()
public void buildGraph()
SceneGraphObjectStatebuildGraph in class SceneGraphObjectStateprotected javax.media.j3d.SceneGraphObject createNode()
SceneGraphObjectStatecreateNode in class SceneGraphObjectStateCopyright © 2015. All rights reserved.