simulation_MVC_Basic
Interface ModelListener

All Known Implementing Classes:
View

public interface ModelListener

This interface encapsulates a listener for a data model. The data model is be part of a model-view-controller architecture. Typically, a class that is serving as a view would implement this interface, so that it could update itself whenever the model changes.

Author:
mb

Method Summary
 void changed()
          Method that is invoked when this listener wishes to respond or to react to a change that originated in whichever object this listener is listening to.
 

Method Detail

changed

void changed()
Method that is invoked when this listener wishes to respond or to react to a change that originated in whichever object this listener is listening to. In this version of the listener, the interface stipulates precisely what this object is.