public abstract class ContainerAdapter extends Object implements ContainerListener
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.ContainerEvent
,
ContainerListener
Constructor and Description |
---|
ContainerAdapter()
Do nothing default constructor for subclasses.
|
Modifier and Type | Method and Description |
---|---|
void |
componentAdded(ContainerEvent event)
Implements this method from the interface with an empty body.
|
void |
componentRemoved(ContainerEvent event)
Implements this method from the interface with an empty body.
|
public ContainerAdapter()
public void componentAdded(ContainerEvent event)
componentAdded
in interface ContainerListener
event
- the event, ignored in this implementationpublic void componentRemoved(ContainerEvent event)
componentRemoved
in interface ContainerListener
event
- the event, ignored in this implementation