java.awt.event

Class ContainerAdapter

public abstract class ContainerAdapter extends Object implements ContainerListener

This class implements ContainerListener and implements all methods with empty bodies. This allows a listener interested in implementing only a subset of the ContainerListener interface to extend this class and override only the desired methods.

Since: 1.1

See Also: ContainerEvent ContainerListener

UNKNOWN: updated to 1.4

Constructor Summary
ContainerAdapter()
Do nothing default constructor for subclasses.
Method Summary
voidcomponentAdded(ContainerEvent event)
Implements this method from the interface with an empty body.
voidcomponentRemoved(ContainerEvent event)
Implements this method from the interface with an empty body.

Constructor Detail

ContainerAdapter

public ContainerAdapter()
Do nothing default constructor for subclasses.

Method Detail

componentAdded

public void componentAdded(ContainerEvent event)
Implements this method from the interface with an empty body.

Parameters: event the event, ignored in this implementation

componentRemoved

public void componentRemoved(ContainerEvent event)
Implements this method from the interface with an empty body.

Parameters: event the event, ignored in this implementation