Decorator
Intent
,
Motivation
,
Applicability
,
Structure
,
Participants
, Collaborations,
Consequences
,
Implementation
,
Sample Code
,
Known Uses
,
Related Patterns
Collaborations
Decorator forwards requests to its Component object. It may optionally perform additional operations before and after forwarding the request.
Collaborations 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