01: /*
02: * Copyright 2000,2005 wingS development team.
03: *
04: * This file is part of wingS (http://wingsframework.org).
05: *
06: * wingS is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU Lesser General Public License
08: * as published by the Free Software Foundation; either version 2.1
09: * of the License, or (at your option) any later version.
10: *
11: * Please see COPYING for the complete licence.
12: */
13: package org.wings.event;
14:
15: import java.util.EventListener;
16:
17: /**
18: * This listener is called on modifications on a Container. It can
19: * be registered on an {@link org.wings.SContainer}.
20: *
21: * @author <a href="mailto:H.Zeller@acm.org">Henner Zeller</a>
22: * @see org.wings.SContainer#addContainerListener(SContainerListener)
23: */
24: public interface SContainerListener extends EventListener {
25: /**
26: * called, whenever a component is added to the container.
27: */
28: void componentAdded(SContainerEvent e);
29:
30: /**
31: * called, whenever a component is removed from the container.
32: */
33: void componentRemoved(SContainerEvent e);
34: }
|