org.rapla.gui.toolkit
Class DisposingTool
java.lang.Object
java.awt.event.WindowAdapter
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DisposingTool
public DisposingTool(Object objectToDispose)
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.