|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object easik.sketch.util.SketchAdapter.JGraphTListener
private class SketchAdapter.JGraphTListener
A listener on the underlying JGraphT graph. This listener is used to keep the JGraph model in sync. Whenever one of the event handlers is called, it first checks whether the change is due to a previous change in the JGraph model. If it is, then no action is taken.
Constructor Summary | |
---|---|
private |
SketchAdapter.JGraphTListener()
|
Method Summary | |
---|---|
void |
edgeAdded(org.jgrapht.event.GraphEdgeChangeEvent e)
Action called when an edge is added |
void |
edgeRemoved(org.jgrapht.event.GraphEdgeChangeEvent e)
Action called when an edge is removed |
void |
vertexAdded(org.jgrapht.event.GraphVertexChangeEvent e)
Action called when a vertex is added |
void |
vertexRemoved(org.jgrapht.event.GraphVertexChangeEvent e)
Action called when a vertex is removed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private SketchAdapter.JGraphTListener()
Method Detail |
---|
public void edgeAdded(org.jgrapht.event.GraphEdgeChangeEvent e)
edgeAdded
in interface org.jgrapht.event.GraphListener
e
- The action eventpublic void edgeRemoved(org.jgrapht.event.GraphEdgeChangeEvent e)
edgeRemoved
in interface org.jgrapht.event.GraphListener
e
- The action eventpublic void vertexAdded(org.jgrapht.event.GraphVertexChangeEvent e)
vertexAdded
in interface org.jgrapht.event.VertexSetListener
e
- The action eventpublic void vertexRemoved(org.jgrapht.event.GraphVertexChangeEvent e)
vertexRemoved
in interface org.jgrapht.event.VertexSetListener
e
- The action event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |