ContainerAdapter

Name

ContainerAdapter

[Graphic: Figure from the text]

Description

The ContainerAdapter class implements the methods of ContainerListener with empty functions. It may be easier for you to extend ContainerAdapter, overriding only those methods you are interested in, than to implement ContainerListener and provide the empty functions yourself.

Class Definition

public abstract class java.awt.event.ContainerAdapter extends java.lang.Object implements java.awt.event.ContainerListener {
 // Instance Methods public void componentAdded (ContainerEvent e);
public void componentRemoved (ContainerEvent e);
}

Instance Methods

componentAdded

public void componentAdded (ComponentEvent e)

componentRemoved

public void componentRemoved (ComponentEvent e)

See Also

ContainerEvent, ContainerListener