com.alee.utils.swing
Class AncestorAdapter

java.lang.Object
  extended by com.alee.utils.swing.AncestorAdapter
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.AncestorListener

public abstract class AncestorAdapter
extends java.lang.Object
implements javax.swing.event.AncestorListener

Adapter to support notification when changes occur to a JComponent or one of its ancestors. These include movement and when the component becomes visible or invisible, either by the setVisible() method or by being added or removed from the component hierarchy.

Author:
Mikle Garin

Constructor Summary
AncestorAdapter()
           
 
Method Summary
 void ancestorAdded(javax.swing.event.AncestorEvent event)
           
 void ancestorMoved(javax.swing.event.AncestorEvent event)
           
 void ancestorRemoved(javax.swing.event.AncestorEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AncestorAdapter

public AncestorAdapter()
Method Detail

ancestorAdded

public void ancestorAdded(javax.swing.event.AncestorEvent event)
Specified by:
ancestorAdded in interface javax.swing.event.AncestorListener

ancestorRemoved

public void ancestorRemoved(javax.swing.event.AncestorEvent event)
Specified by:
ancestorRemoved in interface javax.swing.event.AncestorListener

ancestorMoved

public void ancestorMoved(javax.swing.event.AncestorEvent event)
Specified by:
ancestorMoved in interface javax.swing.event.AncestorListener