public class GroupState extends NodeState
| Modifier and Type | Field and Description |
|---|---|
protected SceneGraphObjectState[] |
groupChildren |
control, node, nodeClassName, symbol| Constructor and Description |
|---|
GroupState(SymbolTableData symbol,
Controller control) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildGraph()
Subclasses should processes their own buildGraph requirements BEFORE
calling super.buildGraph().
|
private boolean |
checkProcessChildren() |
void |
cleanup() |
protected SceneGraphObject |
createNode()
Create a new Java3D node for this object.
|
protected boolean |
processChildren()
Returns true if the groups children should be saved.
|
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.
|
createNode, createNode, createNode, createState, getNode, getNodeID, getSymbol, readConstructorParams, readString, writeConstructorParams, writeStringprotected SceneGraphObjectState[] groupChildren
public GroupState(SymbolTableData symbol, Controller control)
public void writeObject(java.io.DataOutput out)
throws java.io.IOException
SceneGraphObjectStatewriteObject in class NodeStatejava.io.IOExceptionpublic void readObject(java.io.DataInput in)
throws java.io.IOException
readObject in class NodeStatejava.io.IOExceptionprivate boolean checkProcessChildren()
protected boolean processChildren()
public void buildGraph()
SceneGraphObjectStatebuildGraph in class SceneGraphObjectStatepublic void cleanup()
cleanup in class SceneGraphObjectStateprotected SceneGraphObject createNode()
SceneGraphObjectStatecreateNode in class SceneGraphObjectStateCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.