Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.awt.event

Interface ContainerListener

java.lang.Object
|
+--java.util.EventListener
   |
   +--java.awt.event.ContainerListener

All Implemented Interfaces:

EventListener


public interface ContainerListener

implements EventListener

This interface is for classes that wish to listen for all events from container objects. This is normally not necessary since the AWT system listens for and processes these events. To watch a subset of these events, use a ContainerAdapter.

Since:Author:See Also:

Method Summary

voidcomponentAdded(java.awt.event.ContainerEvent event)

This method is called when a component is added to the container.
voidcomponentRemoved(java.awt.event.ContainerEvent event)

This method is called when a component is removed from the container.

Method Details

componentAdded

public void componentAdded(java.awt.event.ContainerEvent event)

This method is called when a component is added to the container.

Parameters:


componentRemoved

public void componentRemoved(java.awt.event.ContainerEvent event)

This method is called when a component is removed from the container.

Parameters: