java::awt::event::HierarchyBoundsAdapter Class Reference

Inheritance diagram for java::awt::event::HierarchyBoundsAdapter:

Inheritance graph
java::awt::event::HierarchyBoundsListenerjava::util::EventListenerjava::lang::Interfacejava::lang::Object
[legend]
Collaboration diagram for java::awt::event::HierarchyBoundsAdapter:

Collaboration graph
java::awt::event::HierarchyBoundsListenerjava::util::EventListenerjava::lang::Interfacejava::lang::Object
[legend]

List of all members.


Detailed Description

An abstract adapter class for receiving ancestor moved and resized events.

The methods in this class are empty. This class exists as a convenience for creating listener objects.

Extend this class and override the method for the event of interest. (If you implement the HierarchyBoundsListener interface, you have to define both methods in it. This abstract class defines null methods for them both, so you only have to define the method for the event you care about.)

Create a listener object using your class and then register it with a Component using the Component's addHierarchyBoundsListener method. When the hierarchy to which the Component belongs changes by resize or movement of an ancestor, the relevant method in the listener object is invoked, and the HierarchyEvent is passed to it.

Author:
David Mendenhall
Version:
1.6, 01/23/03
See also:
HierarchyBoundsListener

HierarchyEvent

Since:
1.3

Public Member Functions

virtual void ancestorMoved (const HierarchyEvent &e)
 Called when an ancestor of the source is moved.
virtual void ancestorResized (const HierarchyEvent &e)
 Called when an ancestor of the source is resized.

Member Function Documentation

virtual void java::awt::event::HierarchyBoundsAdapter::ancestorMoved ( const HierarchyEvent e  )  [virtual]

Called when an ancestor of the source is moved.

Implements java::awt::event::HierarchyBoundsListener.

virtual void java::awt::event::HierarchyBoundsAdapter::ancestorResized ( const HierarchyEvent e  )  [virtual]

Called when an ancestor of the source is resized.

Implements java::awt::event::HierarchyBoundsListener.


The documentation for this class was generated from the following file:
Generated on Fri May 16 11:56:16 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3