|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.ComponentAdapter
public abstract class ComponentAdapter
This class implements ComponentListener
and implements
all methods with empty bodies. This allows a listener interested in
implementing only a subset of the ComponentListener
interface to extend this class and override only the desired methods.
ComponentEvent
,
ComponentListener
Constructor Summary | |
---|---|
ComponentAdapter()
Do nothing default constructor for subclasses. |
Method Summary | |
---|---|
void |
componentHidden(ComponentEvent event)
Implements this method from the interface with an empty body. |
void |
componentMoved(ComponentEvent event)
Implements this method from the interface with an empty body. |
void |
componentResized(ComponentEvent event)
Implements this method from the interface with an empty body. |
void |
componentShown(ComponentEvent 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 ComponentAdapter()
Method Detail |
---|
public void componentResized(ComponentEvent event)
componentResized
in interface ComponentListener
event
- the event, ignored in this implementationpublic void componentMoved(ComponentEvent event)
componentMoved
in interface ComponentListener
event
- the event, ignored in this implementationpublic void componentShown(ComponentEvent event)
componentShown
in interface ComponentListener
event
- the event, ignored in this implementationpublic void componentHidden(ComponentEvent event)
componentHidden
in interface ComponentListener
event
- the event, ignored in this implementation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |