aicas logoJamaica 3.2 release 62

java.awt.event
Interface ComponentListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
AWTEventMulticaster, Component.AccessibleAWTComponent.AccessibleAWTComponentHandler, ComponentAdapter

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
Status:
updated to 1.4

Method Summary
 void componentHidden(ComponentEvent event)
          This method is called when the component is hidden.
 void componentMoved(ComponentEvent event)
          This method is called when the component is moved.
 void componentResized(ComponentEvent event)
          This method is called when the component is resized.
 void componentShown(ComponentEvent event)
          This method is called when the component is made visible.
 

Method Detail

componentResized

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

Parameters:
event - the ComponentEvent indicating the resize

componentMoved

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

Parameters:
event - the ComponentEvent indicating the move

componentShown

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

Parameters:
event - the ComponentEvent indicating the visibility

componentHidden

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

Parameters:
event - the ComponentEvent indicating the visibility

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.