Summary


The Decorator pattern allows you to add and modify behavior using composition rather than inheritance. The key advantages of Decorator patterns are that you can add and change behavior at runtime, and you can potentially chain together behaviors without having to write new subclasses for each permutation.




Advanced ActionScript 3 with Design Patterns
Advanced ActionScript 3 with Design Patterns
ISBN: 0321426568
EAN: 2147483647
Year: 2004
Pages: 132

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net