public class ColorCubeState extends Shape3DState
| Constructor and Description |
|---|
ColorCubeState(SymbolTableData symbol,
Controller control) |
| Modifier and Type | Method and Description |
|---|---|
SceneGraphObject |
createNode(java.lang.Class j3dClass)
Create a new Java3D node from the supplied class 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 |
readConstructorParams(java.io.DataInput in)
Read the parameters required for the constructor of the Java3D object
|
void |
writeConstructorParams(java.io.DataOutput out)
Write the parameters required for the constructor of the Java3D object
|
addSubReference, buildGraph, readObject, writeObjectcleanup, getNode, getNodeID, getSymbolpublic ColorCubeState(SymbolTableData symbol, Controller control)
public void writeConstructorParams(java.io.DataOutput out)
throws java.io.IOException
SceneGraphObjectStatejava.io.IOExceptionpublic void readConstructorParams(java.io.DataInput in)
throws java.io.IOException
SceneGraphObjectStatejava.io.IOExceptionpublic SceneGraphObject createNode(java.lang.Class j3dClass)
SceneGraphObjectState