|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.event.ContainerAdapter
public abstract class ContainerAdapter
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.
ContainerEvent,
ContainerListener| Constructor Summary | |
|---|---|
ContainerAdapter()
Do nothing default constructor for subclasses. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContainerAdapter()
| Method Detail |
|---|
public void componentAdded(ContainerEvent event)
componentAdded in interface ContainerListenerevent - the event, ignored in this implementationpublic void componentRemoved(ContainerEvent event)
componentRemoved in interface ContainerListenerevent - the event, ignored in this implementation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||