AP 04/02 Participants and Collaborations Participants: Component (VisualComponent) –Defines interface for objects that can have responsibilities added to them dynamically ConcreteComponent (TextView) –Defines an object to which additional responsibilities can be attached Decorator –Maintains a reference to a Component object and defines interface that conforms to Component's interface ConcreteDecorator (BorderDecorator, ScrollDecorator) –Adds responsibilities to the component Collaborations: –Decorator forwards requests to its Component object.
{}