public class ColorInterpolatorState extends InterpolatorState
| Modifier and Type | Field and Description |
|---|---|
private int |
target |
control, node, nodeClassName, symbol| Constructor and Description |
|---|
ColorInterpolatorState(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 SceneGraphObject |
createNode()
Create a new Java3D node for this object.
|
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 |
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.
|
createNodecleanup, createNode, createState, getNode, getNodeID, getSymbol, readConstructorParams, readString, writeConstructorParams, writeStringpublic ColorInterpolatorState(SymbolTableData symbol, Controller control)
public void writeObject(java.io.DataOutput out)
throws java.io.IOException
SceneGraphObjectStatewriteObject in class InterpolatorStatejava.io.IOExceptionpublic void readObject(java.io.DataInput in)
throws java.io.IOException
readObject in class InterpolatorStatejava.io.IOExceptionpublic void addSubReference()
addSubReference in class InterpolatorStatepublic void buildGraph()
SceneGraphObjectStatebuildGraph in class InterpolatorStatepublic SceneGraphObject createNode(java.lang.Class j3dClass)
SceneGraphObjectStatecreateNode in class SceneGraphObjectStateprotected SceneGraphObject createNode()
SceneGraphObjectStatecreateNode in class SceneGraphObjectStateCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.