java.awt.event
Interface HierarchyBoundsListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
AWTEventMulticaster, HierarchyBoundsAdapter

public interface HierarchyBoundsListener
extends EventListener

This listens for changes in an ancestors size or location. 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 HierarchyBoundsAdapter.

Since:
1.3
See Also:
HierarchyBoundsAdapter, HierarchyEvent

Method Summary
 void ancestorMoved(HierarchyEvent e)
          Called when an ancestor component of the source is moved.
 void ancestorResized(HierarchyEvent e)
          Called when an ancestor component is resized.
 

Method Detail

ancestorMoved

void ancestorMoved(HierarchyEvent e)
Called when an ancestor component of the source is moved.

Parameters:
e - the event describing the ancestor's motion

ancestorResized

void ancestorResized(HierarchyEvent e)
Called when an ancestor component is resized.

Parameters:
e - the event describing the ancestor's resizing