Пример #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);
   }
 }