Exemplo n.º 1
0
 /**
  * Send a document init event to all listeners with a different source and reset the <code>changed
  * </code> flag.
  */
 public void fireDocumentInit(BaseDocument source) {
   has_changed = false;
   for (DocumentChangeListener dcl : dc_listeners)
     dcl.documentInit(new DocumentChangeEvent(source));
 }
Exemplo n.º 2
0
 /** Send a document init event to all listeners and reset the <code>changed</code> flag. */
 public void fireDocumentInit() {
   has_changed = false;
   for (DocumentChangeListener dcl : dc_listeners) dcl.documentInit(new DocumentChangeEvent(this));
 }