Mediator
Intent
,
Motivation
,
Applicability
,
Structure
, Participants,
Collaborations
,
Consequences
,
Implementation
,
Sample Code
,
Known Uses
,
Related Patterns
Participants
Mediator
(DialogDirectory)
defines an interface for communicating with Colleague objects.
ConcreteMediator
(FontDialogDirectory)
implements cooperative behavior by coordinating Colleague objects.
knows and maintains its colleagues.
Colleague classes
(ListBox, EntryField)
each Colleague class knows its Mediator object.
each colleague communicates with its mediator whenever it would have otherwise communicated with another colleague.
Participants of
Abstract Factory
,
Adapter
,
Bridge
,
Builder
,
Chain of Responsibility
,
Command
,
Composite
,
Decorator
,
Facade
,
Factory Method
,
Flyweight
,
Interpreter
,
Iterator
, Mediator,
Memento
,
Observer
,
Prototype
,
Proxy
,
Singleton
,
State
,
Strategy
,
Template Method
,
Visitor