This interface defines the methods that an object must implement to "listen" for container events on AWT components. When a ContainerEvent occurs, an AWT component notifies its registered ContainerListener objects by invoking one of their methods.
An easy way to implement this interface is by subclassing the ContainerAdapter class.
public abstract interface ContainerListener extends EventListener { // Public Instance Methods public abstract void componentAdded(ContainerEvent e); public abstract void componentRemoved(ContainerEvent e); }
AWTEventMulticaster, ContainerAdapter
AWTEventMulticaster.add(), AWTEventMulticaster.remove(), Container.addContainerListener(), Container.removeContainerListener()
AWTEventMulticaster.add(), AWTEventMulticaster.remove()
This HTML Help has been published using the chm2web software. |