Wikipedia is on a blackout for a really good reason at this moment, in response to SOPA and PIPA bills. Please see:
http://en.wikipedia.org/wiki/Main_Page[
^],
http://en.wikipedia.org/wiki/Wikipedia:SOPA_initiative/Learn_more[
^].
It will be available soon. Hope it will be fine in future as well as Internet freedom. When Wikipedia resumes the operation, find an article on this design pattern and please analyze you code by yourself. The Wikipedia article on this topic is crystal clear.
I also would like to emphasize that it is
not so important if some design matches something which is called "Decorator Design Pattern" precisely or not. What's more important is the
design itself; is it
adequate to the ultimate goals of your software project or not.
Design Pattens are supposed to serve for promoting good designs, not that designs serve Design Patterns. In this way, your question cannot be so important, as it does not help to address any practical issue. The real question would be: is some design good for some general or particular purpose or not.
—SA