java.awt.event

Interface ComponentListener

public interface ComponentListener extends EventListener

This interface is for classes that receive all events from a component. Normally it is not necessary to process these events since the AWT handles them internally, taking all appropriate actions. To watch a subset of these events, use a ComponentAdapter.

Since: 1.1

See Also: ComponentAdapter ComponentEvent

UNKNOWN: updated to 1.4

Method Summary
voidcomponentHidden(ComponentEvent event)
This method is called when the component is hidden.
voidcomponentMoved(ComponentEvent event)
This method is called when the component is moved.
voidcomponentResized(ComponentEvent event)
This method is called when the component is resized.
voidcomponentShown(ComponentEvent event)
This method is called when the component is made visible.

Method Detail

componentHidden

public void componentHidden(ComponentEvent event)
This method is called when the component is hidden.

Parameters: event the ComponentEvent indicating the visibility

componentMoved

public void componentMoved(ComponentEvent event)
This method is called when the component is moved.

Parameters: event the ComponentEvent indicating the move

componentResized

public void componentResized(ComponentEvent event)
This method is called when the component is resized.

Parameters: event the ComponentEvent indicating the resize

componentShown

public void componentShown(ComponentEvent event)
This method is called when the component is made visible.

Parameters: event the ComponentEvent indicating the visibility