1 /* 2 * $Id: SContainerListener.java,v 1.3 2004/12/01 07:54:07 hengels Exp $ 3 * Copyright 2000,2005 wingS development team. 4 * 5 * This file is part of wingS (http://www.j-wings.org). 6 * 7 * wingS is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU Lesser General Public License 9 * as published by the Free Software Foundation; either version 2.1 10 * of the License, or (at your option) any later version. 11 * 12 * Please see COPYING for the complete licence. 13 */ 14 package org.wings.event; 15 16 import java.util.EventListener; 17 18 19 /** 20 * This listener is called on modifications on a Container. It can 21 * be registered on an {@link org.wings.SContainer}. 22 * 23 * @author <a HREF="mailto:H.Zeller@acm.org">Henner Zeller</a> 24 * @see org.wings.SContainer#addContainerListener(SContainerListener) 25 */ 26 public interface SContainerListener extends EventListener { 27 /** 28 * called, whenever a component is added to the container. 29 */ 30 void componentAdded(SContainerEvent e); 31 32 /** 33 * called, whenever a component is removed from the container. 34 */ 35 void componentRemoved(SContainerEvent e); 36 } 37 38 39