public class AppearanceState extends NodeComponentState
| Modifier and Type | Field and Description |
|---|---|
private int |
coloringAttributes |
private int |
lineAttributes |
private int |
material |
private int |
pointAttributes |
private int |
polygonAttributes |
private int |
renderingAttributes |
private int |
texCoordGeneration |
private int |
texture |
private int |
textureAttributes |
private int[] |
textureUnitState |
private int |
transparencyAttributes |
control, node, nodeClassName, symbol| Constructor and Description |
|---|
AppearanceState(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.
|
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.
|
cleanup, createNode, createNode, createNode, createState, getNode, getNodeID, getSymbol, readConstructorParams, readString, writeConstructorParams, writeStringprivate int polygonAttributes
private int renderingAttributes
private int coloringAttributes
private int lineAttributes
private int material
private int pointAttributes
private int texCoordGeneration
private int texture
private int textureAttributes
private int[] textureUnitState
private int transparencyAttributes
public AppearanceState(SymbolTableData symbol, Controller control)
public void writeObject(java.io.DataOutput out)
throws java.io.IOException
SceneGraphObjectStatewriteObject in class NodeComponentStatejava.io.IOExceptionpublic void readObject(java.io.DataInput in)
throws java.io.IOException
readObject in class NodeComponentStatejava.io.IOExceptionpublic void addSubReference()
addSubReference in class NodeComponentStatepublic void buildGraph()
SceneGraphObjectStatebuildGraph in class SceneGraphObjectStateprotected SceneGraphObject createNode()
SceneGraphObjectStatecreateNode in class SceneGraphObjectStateCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.