jap
Class AbstractJAPConfModule.RootPanelAncestorListener

java.lang.Object
  extended by jap.AbstractJAPConfModule.RootPanelAncestorListener
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.AncestorListener
Enclosing class:
AbstractJAPConfModule

private class AbstractJAPConfModule.RootPanelAncestorListener
extends java.lang.Object
implements javax.swing.event.AncestorListener

Helper class for creating a onRootPanelShown call when the root panel (the whole configuration tab of this module) is coming to foreground.


Constructor Summary
private AbstractJAPConfModule.RootPanelAncestorListener()
           
 
Method Summary
 void ancestorAdded(javax.swing.event.AncestorEvent event)
          This method is called when the root panel is set to visible.
 void ancestorMoved(javax.swing.event.AncestorEvent event)
          This method is called when the root panel is moved.
 void ancestorRemoved(javax.swing.event.AncestorEvent event)
          This method is called when the root panel is set to invisible.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractJAPConfModule.RootPanelAncestorListener

private AbstractJAPConfModule.RootPanelAncestorListener()
Method Detail

ancestorAdded

public void ancestorAdded(javax.swing.event.AncestorEvent event)
This method is called when the root panel is set to visible. This only happens if the whole configuration tab of this module is set to visible.

Specified by:
ancestorAdded in interface javax.swing.event.AncestorListener
Parameters:
event - The fired AncestorEvent.

ancestorMoved

public void ancestorMoved(javax.swing.event.AncestorEvent event)
This method is called when the root panel is moved. This only happens if the whole configuration tab of this module is moved.

Specified by:
ancestorMoved in interface javax.swing.event.AncestorListener
Parameters:
event - The fired AncestorEvent.

ancestorRemoved

public void ancestorRemoved(javax.swing.event.AncestorEvent event)
This method is called when the root panel is set to invisible. This only happens if the whole configuration tab of this module is set to invisible.

Specified by:
ancestorRemoved in interface javax.swing.event.AncestorListener
Parameters:
event - The fired AncestorEvent.