org.rapla.gui.toolkit
Class DisposingTool

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by org.rapla.gui.toolkit.DisposingTool
All Implemented Interfaces:
WindowFocusListener, WindowListener, WindowStateListener, EventListener

public final class DisposingTool
extends WindowAdapter

Disposes an object on window close. Must be added as a WindowListener to the target window


Constructor Summary
DisposingTool(Object objectToDispose)
           
 
Method Summary
 void windowClosed(WindowEvent e)
           
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosing, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisposingTool

public DisposingTool(Object objectToDispose)
Method Detail

windowClosed

public void windowClosed(WindowEvent e)
Specified by:
windowClosed in interface WindowListener
Overrides:
windowClosed in class WindowAdapter


Copyright © 2000-2006 Rapla Team. All Rights Reseserved.