docs/DesignPatterns

diff code/composite-icomponent.java @ 7:20c0116dcb97

added files (forgot for last commit
author meillo@marmaro.de
date Mon, 18 Jun 2007 12:10:45 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/code/composite-icomponent.java	Mon Jun 18 12:10:45 2007 +0200
     1.3 @@ -0,0 +1,5 @@
     1.4 +    interface IComponent {
     1.5 +            Collection getChildren();
     1.6 +            boolean addComponent(IComponent c);     
     1.7 +            boolean removeComponent(IComponent c);
     1.8 +    }