Interface Observer


  • public interface Observer
    Used by the notification mechanism: objects which are used to observe state changes have to implement this interface.
    • Method Detail

      • eventObserved

        void eventObserved​(Event theEvent)
        This method is invoked by the observed object when a state change occurs.
        Parameters:
        theEvent - the event which caused the state change.