de.grogra.graph
Class DelegateGraphState

java.lang.Object
  extended by de.grogra.graph.GraphState
      extended by de.grogra.graph.DelegateGraphState

public abstract class DelegateGraphState
extends GraphState


Nested Class Summary
 
Nested classes/interfaces inherited from class de.grogra.graph.GraphState
GraphState.ObjectContext
 
Field Summary
protected  GraphState state
           
 
Constructor Summary
protected DelegateGraphState(GraphState state, ThreadContext ctx)
           
 
Method Summary
 GraphState createDelegate(ThreadContext tc)
           
 void fireAttributeChanged(java.lang.Object object, boolean asNode, Attribute a, FieldChain field, int[] indices)
           
protected  void fireEdgeChanged(java.lang.Object source, java.lang.Object target, java.lang.Object edge)
           
 void setEdgeBits(java.lang.Object edge, int bits)
           
 
Methods inherited from class de.grogra.graph.GraphState
allocatePropertyId, beginInstancing, checkBoolean, checkByte, checkChar, checkDouble, checkFloat, checkInt, checkLong, checkObject, checkShort, containsInTree, createObjectState, current, deinstantiate, dispose, endInstancing, finalize, forContext, get, getBoolean, getBooleanDefault, getByte, getByteDefault, getChar, getCharDefault, getContext, getDouble, getDoubleDefault, getFloat, getFloatDefault, getGraph, getInstancingPath, getInstancingPathIndex, getInt, getIntDefault, getLong, getLongDefault, getObject, getObject, getObjectContext, getObjectDefault, getShort, getShortDefault, getUserProperty, initialize, instantiate, instantiateEdge, moveToInstance, moveToNextInstance, moveToPreviousInstance, setInstanceAttribute, setObjectContext, setObjectContext, setUserProperty
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

state

protected GraphState state
Constructor Detail

DelegateGraphState

protected DelegateGraphState(GraphState state,
                             ThreadContext ctx)
Method Detail

createDelegate

public GraphState createDelegate(ThreadContext tc)
Specified by:
createDelegate in class GraphState

fireAttributeChanged

public void fireAttributeChanged(java.lang.Object object,
                                 boolean asNode,
                                 Attribute a,
                                 FieldChain field,
                                 int[] indices)
Specified by:
fireAttributeChanged in class GraphState

fireEdgeChanged

protected void fireEdgeChanged(java.lang.Object source,
                               java.lang.Object target,
                               java.lang.Object edge)
Specified by:
fireEdgeChanged in class GraphState

setEdgeBits

public void setEdgeBits(java.lang.Object edge,
                        int bits)
Specified by:
setEdgeBits in class GraphState