de.grogra.graph
Class ParentAttribute
java.lang.Object
de.grogra.graph.Attribute<T>
de.grogra.graph.ObjectAttribute
de.grogra.graph.ParentAttribute
- All Implemented Interfaces:
- ChangeBoundaryListener, EdgeChangeListener, Described, KeyDescription, java.lang.Comparable
public class ParentAttribute
- extends ObjectAttribute
- implements ChangeBoundaryListener, EdgeChangeListener
Methods inherited from class de.grogra.graph.Attribute |
compareTo, find, forName, getAttributeState, getDescription, getId, getKey, getQuantity, getSimpleName, getType, hashCode, initializeI18N, initializeName, isContained, isWritable, setAttributeState, toArray, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
TREE
public static final ParentAttribute TREE
ParentAttribute
public ParentAttribute(EdgePattern pattern,
java.lang.String name)
beginChange
public void beginChange(GraphState gs)
- Specified by:
beginChange
in interface ChangeBoundaryListener
contains
public boolean contains(java.lang.Object object,
boolean asNode,
GraphState gs)
edgeChanged
public void edgeChanged(java.lang.Object source,
java.lang.Object target,
java.lang.Object edgeSet,
GraphState gs)
- Specified by:
edgeChanged
in interface EdgeChangeListener
endChange
public void endChange(GraphState gs)
- Specified by:
endChange
in interface ChangeBoundaryListener
getDerived
protected java.lang.Object getDerived(java.lang.Object object,
boolean asNode,
java.lang.Object placeIn,
GraphState gs)
- Overrides:
getDerived
in class ObjectAttribute
getPriority
public int getPriority()
- Specified by:
getPriority
in interface ChangeBoundaryListener
isDerived
public boolean isDerived()
- Description copied from class:
Attribute
- Determines whether this is a derived attribute or not.
- Overrides:
isDerived
in class Attribute
- Returns:
true
iff this is a derived attribute