Interface ModelListener

All Known Implementing Classes:
SwingButton

public interface ModelListener
Implemented by an object that wants to be notified when a model changes. (Similar to a java.beans.PropertyChangeListener; should perhaps use that. A disadvantage of PropertyChangeListener is that it requires allocating a PropertyChangeEvent on each change but maybe "compatibility" is worth it.)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    modelUpdated(Model model, Object key)
     
  • Method Details

    • modelUpdated

      void modelUpdated(Model model, Object key)