com.sun.j3d.utils.scenegraph.io.retained
Class SymbolTableData

java.lang.Object
  extended by com.sun.j3d.utils.scenegraph.io.retained.SymbolTableData

public class SymbolTableData
extends java.lang.Object

Encapsulates all the data for a node which is stored in the Symbol table


Field Summary
 long branchGraphFilePointer
           
 int branchGraphID
           
 long filePosition
           
 boolean graphBuilt
           
 boolean isNodeComponent
           
 javax.media.j3d.SceneGraphObject j3dNode
           
 int nodeID
           
 SceneGraphObjectState nodeState
           
 int referenceCount
           
 
Constructor Summary
SymbolTableData(int nodeID, javax.media.j3d.SceneGraphObject j3dNode, SceneGraphObjectState nodeState, int branchGraphID)
          Creates new SymbolTableData
 
Method Summary
 long getFilePosition()
           
 javax.media.j3d.SceneGraphObject getJ3dNode()
           
 int getNodeID()
           
 SceneGraphObjectState getNodeState()
           
 int getReferenceCount()
           
 void incrementReferenceCount()
           
 boolean isNodeComponent()
           
 void readObject(java.io.DataInput in)
           
 void setNodeState(SceneGraphObjectState state)
           
 java.lang.String toString()
           
 void writeObject(java.io.DataOutput out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nodeID

public int nodeID

nodeState

public SceneGraphObjectState nodeState

j3dNode

public javax.media.j3d.SceneGraphObject j3dNode

referenceCount

public int referenceCount

filePosition

public long filePosition

isNodeComponent

public boolean isNodeComponent

branchGraphID

public int branchGraphID

branchGraphFilePointer

public long branchGraphFilePointer

graphBuilt

public boolean graphBuilt
Constructor Detail

SymbolTableData

public SymbolTableData(int nodeID,
                       javax.media.j3d.SceneGraphObject j3dNode,
                       SceneGraphObjectState nodeState,
                       int branchGraphID)
Creates new SymbolTableData

Method Detail

writeObject

public void writeObject(java.io.DataOutput out)
                 throws java.io.IOException
Throws:
java.io.IOException

readObject

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

getNodeID

public final int getNodeID()

getNodeState

public final SceneGraphObjectState getNodeState()

setNodeState

public final void setNodeState(SceneGraphObjectState state)

getJ3dNode

public final javax.media.j3d.SceneGraphObject getJ3dNode()

getFilePosition

public final long getFilePosition()

getReferenceCount

public final int getReferenceCount()

incrementReferenceCount

public final void incrementReferenceCount()

isNodeComponent

public final boolean isNodeComponent()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object