Open main menu

CDOT Wiki β

Changes

Decorator

1 byte removed, 17:23, 3 February 2007
m
no edit summary
===Decorator Design Pattern===
Attach additional responsibility to an object dynamically. Decoratores provide a flexible alternative to subclassing for extending functionality.
[[Image:DecoratorUML.png|frame|UML Class diagram of the decorator pattern]]
 
Attach additional responsibility to an object dynamically. Decoratores provide a flexible alternative to subclassing for extending functionality.
==Sample Code==
1
edit