public class ColorCubeState extends Shape3DState
control, node, nodeClassName, symbol| Constructor and Description |
|---|
ColorCubeState(SymbolTableData symbol,
Controller control) |
| Modifier and Type | Method and Description |
|---|---|
protected javax.media.j3d.SceneGraphObject |
createNode()
Create a new Java3D node for this object.
|
javax.media.j3d.SceneGraphObject |
createNode(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
|
protected boolean |
processChildren()
Returns true if the groups children should be saved.
|
void |
readConstructorParams(DataInput in)
Read the parameters required for the constructor of the Java3D object
|
void |
writeConstructorParams(DataOutput out)
Write the parameters required for the constructor of the Java3D object
|
addSubReference, buildGraph, readObject, writeObjectcleanup, createNode, createNode, createState, getNode, getNodeID, getSymbol, readString, writeStringpublic ColorCubeState(SymbolTableData symbol, Controller control)
public void writeConstructorParams(DataOutput out) throws IOException
SceneGraphObjectStatewriteConstructorParams in class SceneGraphObjectStateIOExceptionpublic void readConstructorParams(DataInput in) throws IOException
SceneGraphObjectStatereadConstructorParams in class SceneGraphObjectStateIOExceptionprotected boolean processChildren()
public javax.media.j3d.SceneGraphObject createNode(Class j3dClass)
SceneGraphObjectStatecreateNode in class SceneGraphObjectStateprotected javax.media.j3d.SceneGraphObject createNode()
SceneGraphObjectStatecreateNode in class Shape3DStateCopyright © 2015. All rights reserved.