java.awt.event

Interface HierarchyBoundsListener

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

UNKNOWN: updated to 1.4

Method Summary
voidancestorMoved(HierarchyEvent e)
Called when an ancestor component of the source is moved.
voidancestorResized(HierarchyEvent e)
Called when an ancestor component is resized.

Method Detail

ancestorMoved

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

Parameters: e the event describing the ancestor's motion

ancestorResized

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

Parameters: e the event describing the ancestor's resizing