java.awt.event

Class ComponentAdapter

public abstract class ComponentAdapter extends Object implements ComponentListener

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.

Since: 1.1

See Also: ComponentEvent ComponentListener

UNKNOWN: updated to 1.4

Constructor Summary
ComponentAdapter()
Do nothing default constructor for subclasses.
Method Summary
voidcomponentHidden(ComponentEvent event)
Implements this method from the interface with an empty body.
voidcomponentMoved(ComponentEvent event)
Implements this method from the interface with an empty body.
voidcomponentResized(ComponentEvent event)
Implements this method from the interface with an empty body.
voidcomponentShown(ComponentEvent event)
Implements this method from the interface with an empty body.

Constructor Detail

ComponentAdapter

public ComponentAdapter()
Do nothing default constructor for subclasses.

Method Detail

componentHidden

public void componentHidden(ComponentEvent event)
Implements this method from the interface with an empty body.

Parameters: event the event, ignored in this implementation

componentMoved

public void componentMoved(ComponentEvent event)
Implements this method from the interface with an empty body.

Parameters: event the event, ignored in this implementation

componentResized

public void componentResized(ComponentEvent event)
Implements this method from the interface with an empty body.

Parameters: event the event, ignored in this implementation

componentShown

public void componentShown(ComponentEvent event)
Implements this method from the interface with an empty body.

Parameters: event the event, ignored in this implementation