com.sun.j3d.utils.scenegraph.io.state.javax.media.j3d
Class NodeComponentState

java.lang.Object
  extended by com.sun.j3d.utils.scenegraph.io.state.javax.media.j3d.SceneGraphObjectState
      extended by com.sun.j3d.utils.scenegraph.io.state.javax.media.j3d.NodeComponentState
Direct Known Subclasses:
AlphaState, AppearanceState, AuralAttributesState, ColoringAttributesState, DepthComponentFloatState, DepthComponentIntState, DepthComponentNativeState, Font3DState, GeometryState, ImageComponentState, LineAttributesState, MaterialState, MediaContainerState, PointAttributesState, PolygonAttributesState, RenderingAttributesState, TexCoordGenerationState, TextureAttributesState, TextureState, TextureUnitStateState, TransparencyAttributesState

public abstract class NodeComponentState
extends SceneGraphObjectState


Constructor Summary
NodeComponentState(SymbolTableData symbol, Controller control)
           
 
Method Summary
 void addSubReference()
          Called when this component reference count is incremented.
 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.
 
Methods inherited from class com.sun.j3d.utils.scenegraph.io.state.javax.media.j3d.SceneGraphObjectState
buildGraph, cleanup, getNode, getNodeID, getSymbol
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeComponentState

public NodeComponentState(SymbolTableData symbol,
                          Controller control)
Method Detail

readObject

public void readObject(java.io.DataInput in)
                throws java.io.IOException
Overrides:
readObject in class SceneGraphObjectState
Throws:
java.io.IOException

writeObject

public void writeObject(java.io.DataOutput out)
                 throws java.io.IOException
Description copied from class: SceneGraphObjectState
DO NOT call symbolTable.addReference in writeObject as this (may) result in a concurrentModificationException. All references should be created in the constructor

Overrides:
writeObject in class SceneGraphObjectState
Throws:
java.io.IOException

addSubReference

public void addSubReference()
Called when this component reference count is incremented. Allows this component to update the reference count of any components that it references.