|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graph.event.GraphAdapter
A convenience adapter-class for graphlisteners.
| Constructor Summary | |
GraphAdapter()
Constructs a GraphAdapter instance. |
|
| Method Summary | |
void |
edgeAdded(GraphEvent graphevent)
Invoked after an edge was added to the graph. |
void |
edgeAttachRejected(GraphEvent graphevent)
An attachment of an edge was rejected by the graph. |
void |
edgePreAdd(GraphEvent graphevent)
Invoked when an edge is about to be added to a graph. |
void |
edgePreRemove(GraphEvent graphevent)
Invoked when an edge is about to be removed from a graph. |
void |
edgePreSplit(GraphEvent graphevent)
An edge is about to be split split and then would be replaced by two new edges. |
void |
edgeRemoved(GraphEvent graphevent)
Invoked after an edge was removed from the graph. |
void |
edgeSplit(GraphEvent graphevent)
An edge was split and replaced by two new edges. |
void |
nodeAdded(GraphEvent graphevent)
Invoked after a node was added to the graph. |
void |
nodeDeleteEdgeCascade(GraphEvent graphevent)
A node with indegree = outdegree = 1 was deleted and the adjacent edges are deleted as well. |
void |
nodePreAdd(GraphEvent graphevent)
Invoked when a node is about to be added to a graph. |
void |
nodePreDeleteEdgeCascade(GraphEvent graphevent)
A node with indegree = outdegree = 1 is about to be deleted and the adjacent edges will be deleted as well. |
void |
nodePreRemove(GraphEvent graphevent)
Invoked when a node is about to be removed from a graph. |
void |
nodeRemoved(GraphEvent graphevent)
Invoked after a node was removed from the graph. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GraphAdapter()
GraphAdapter instance.
| Method Detail |
public void nodePreAdd(GraphEvent graphevent)
GraphListener
nodePreAdd in interface GraphListenerpublic void nodePreRemove(GraphEvent graphevent)
GraphListener
nodePreRemove in interface GraphListenergraphevent - the structure carrying graphevent information.public void nodeAdded(GraphEvent graphevent)
GraphListener
nodeAdded in interface GraphListenergraphevent - the graphevent structure carrying graphevent information.public void nodeRemoved(GraphEvent graphevent)
GraphListener
nodeRemoved in interface GraphListenergraphevent - the structure carrying graphevent information.public void edgePreAdd(GraphEvent graphevent)
GraphListener
edgePreAdd in interface GraphListenergraphevent - the structure carrying graphevent information.public void edgePreRemove(GraphEvent graphevent)
GraphListener
edgePreRemove in interface GraphListenergraphevent - the structure carrying graphevent information.public void edgeAdded(GraphEvent graphevent)
GraphListener
edgeAdded in interface GraphListenergraphevent - the structure carrying graphevent information.public void edgeRemoved(GraphEvent graphevent)
GraphListener
edgeRemoved in interface GraphListenergraphevent - the structure carrying graphevent information.public void edgeAttachRejected(GraphEvent graphevent)
GraphListener
edgeAttachRejected in interface GraphListenergraphevent - the structure carrying graphevent information.public void edgePreSplit(GraphEvent graphevent)
GraphListener
edgePreSplit in interface GraphListenergraphevent - the structure carrying graphevent information.public void edgeSplit(GraphEvent graphevent)
GraphListener
edgeSplit in interface GraphListenergraphevent - the structure carrying graphevent information.public void nodePreDeleteEdgeCascade(GraphEvent graphevent)
GraphListener
nodePreDeleteEdgeCascade in interface GraphListenergraphevent - the structure carrying graphevent information.public void nodeDeleteEdgeCascade(GraphEvent graphevent)
GraphListener
nodeDeleteEdgeCascade in interface GraphListenergraphevent - the structure carrying graphevent information.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||