de.grogra.graph
protected class GraphFilter.State extends GraphBase.State
GraphState.ObjectContext| Constructor and Description |
|---|
GraphFilter.State(GraphState sourceState,
ThreadContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsInTree(java.lang.Object object,
boolean asNode)
Tests whether an object is contained in the tree of the graph.
|
GraphState |
createDelegate(ThreadContext tc) |
void |
setEdgeBits(java.lang.Object edge,
int bits) |
fireAttributeChanged, fireEdgeChanged, getQueueallocatePropertyId, beginInstancing, checkBoolean, checkByte, checkChar, checkDouble, checkFloat, checkInt, checkLong, checkObject, checkShort, 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, setUserPropertypublic GraphFilter.State(GraphState sourceState, ThreadContext ctx)
public boolean containsInTree(java.lang.Object object,
boolean asNode)
GraphStateGraph.getTreePattern().containsInTree in class GraphStateobject - the objectasNode - true if object is a node,
false if object is an edgetrue iff the object is part of the treepublic GraphState createDelegate(ThreadContext tc)
createDelegate in class GraphStatepublic void setEdgeBits(java.lang.Object edge,
int bits)
setEdgeBits in class GraphState