Patterns in UMLExample “Observer Pattern”
Observer
:
goal is the automatic notification of dependent objects in case of state changes of an object
ensures consistency for loosely coupled objects
most often used in the area of graphical user interfaces
: Calendar
cv1 : CalendarView
Observer
subject
observer
cv2 : CalendarView
observer
Previous slide
Next slide
Back to first slide
View graphic version