CounterObserver Interface
Implemented by view to ‘listen’ for model changes
Single method with the Counter as a parameter.
When invoked allows view to be updated.
interface CounterObserver {
public void counterHasChanged(Counter ctr);
}
Previous slide
Next slide
Back to first slide
View graphic version