com.mtp.gui
Class SystemExitWatcher
java.lang.Object
|
+--com.mtp.gui.WindowWatcher
|
+--com.mtp.gui.SystemExitWatcher
- All Implemented Interfaces:
- AWTEventListener, EventListener
- public class SystemExitWatcher
- extends WindowWatcher
When the last window has been closed, exit the system.
Should only be instantiated once in the main() function.
- Author:
- Matthew Pekar
| Methods inherited from class com.mtp.gui.WindowWatcher |
addWindow, clearWindows, containsWindow, containsWindow, copyWindows, disconnect, disposeWindows, eventDispatched, filtered, filterWindow, filterWindow, getFilterAllWindows, getRemoveWindows, getWindowByID, getWindowByName, getWindowByTitle, getWindowCount, getWindowID, getWindows, removeFilteredWindows, setFilterAllWindows, setRemoveWindows, setWaitTimeout, updateUIs, waitTillWindowNotPresent, waitTillWindowNotPresent, waitTillWindowPresent, waitTillWindowPresent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instantiate
public static void instantiate()
getInstance
public static SystemExitWatcher getInstance()
removeWindow
protected void removeWindow(Window w)
- Description copied from class:
WindowWatcher
- Remove given window.
- Overrides:
removeWindow in class WindowWatcher
Copyright © 2002 Matthew Pekar. All Rights Reserved.