KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > gnu > kawa > models > ModelListener


1 package gnu.kawa.models;
2
3 /** Implemented by an object that wants to be notified when a model changes.
4  * (Similar to a java.beans.PropertyChangeListener; should perhaps use that.
5  * A disadvantage of PropertyChangeListener is that it requires allocating a
6  * PropertyChangeEvent on each change but maybe "compatibility" is worth it.) */

7
8 public interface ModelListener
9 {
10   public void modelUpdated (Model model, Object JavaDoc key);
11 }
12
Popular Tags