java.awt.event.ContainerAdapter (JDK 1.1)
This class is a trivial implementation of ContainerListener; it provides empty bodies for each of the methods of that interface. When you are not interested in all of these methods, it is often easier to subclass ContainerAdapter than it is to implement ContainerListener from scratch.
public abstract classContainerAdapterextends Object implements ContainerListener { //Default Constructor: public ContainerAdapter()//Public Instance Methodspublic voidcomponentAdded(ContainerEvente); //From ContainerListenerpublic voidcomponentRemoved(ContainerEvente); //From ContainerListener}
Hierarchy:
Object->ContainerAdapter(ContainerListener(EventListener))