java.awt.event
Class HierarchyBoundsAdapter

java.lang.Object
  extended by java.awt.event.HierarchyBoundsAdapter
All Implemented Interfaces:
HierarchyBoundsListener, EventListener

public abstract class HierarchyBoundsAdapter
extends Object
implements HierarchyBoundsListener

This class implements HierarchyBoundsListener and implements all methods with empty bodies. This allows a listener interested in implementing only a subset of the HierarchyBoundsListener interface to extend this class and override only the desired methods.

Since:
1.3
See Also:
HierarchyBoundsListener, HierarchyEvent

Constructor Summary
HierarchyBoundsAdapter()
          Do nothing default constructor for subclasses.
 
Method Summary
 void ancestorMoved(HierarchyEvent event)
          Implements this method from the interface with an empty body.
 void ancestorResized(HierarchyEvent event)
          Implements this method from the interface with an empty body.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HierarchyBoundsAdapter

public HierarchyBoundsAdapter()
Do nothing default constructor for subclasses.

Method Detail

ancestorMoved

public void ancestorMoved(HierarchyEvent event)
Implements this method from the interface with an empty body.

Specified by:
ancestorMoved in interface HierarchyBoundsListener
Parameters:
event - the event, ignored in this implementation

ancestorResized

public void ancestorResized(HierarchyEvent event)
Implements this method from the interface with an empty body.

Specified by:
ancestorResized in interface HierarchyBoundsListener
Parameters:
event - the event, ignored in this implementation