public interface ContainerListener extends EventListener
ContainerAdapter
,
ContainerEvent
Modifier and Type | Method and Description |
---|---|
void |
componentAdded(ContainerEvent event)
This method is called when a component is added to the container.
|
void |
componentRemoved(ContainerEvent event)
This method is called when a component is removed from the container.
|
void componentAdded(ContainerEvent event)
event
- the ContainerEvent
indicating component additionvoid componentRemoved(ContainerEvent event)
event
- the ContainerEvent
indicating component removal