// the controller listens to the view and interprets a button click // with a call to incStatus() of its model class Controller implements IViewListener { Model model; View view; Controller(Model m, View v) { model = m; view = v; } // report event with model and create next view public void notifyListener() { model.incStatus(); } }