예제 #1
0
 /** Dispatch the edgeTailChanged() event to the listeners. */
 public void edgeTailChanged(GraphEvent e) {
   for (Iterator i = listeners(); i.hasNext(); ) {
     GraphListener l = (GraphListener) i.next();
     l.edgeTailChanged(e);
   }
 }
예제 #2
0
 /** Dispatch the nodeRemoved() event to each of the listeners. */
 public void nodeRemoved(GraphEvent e) {
   for (Iterator i = listeners(); i.hasNext(); ) {
     GraphListener l = (GraphListener) i.next();
     l.nodeRemoved(e);
   }
 }
예제 #3
0
 /** Dispatch the structureChanged() event to each of the listeners. */
 public void structureChanged(GraphEvent e) {
   for (Iterator i = listeners(); i.hasNext(); ) {
     GraphListener l = (GraphListener) i.next();
     l.structureChanged(e);
   }
 }