Class JmolPanel.AppCloser
java.lang.Object
java.awt.event.WindowAdapter
org.openscience.jmol.app.jmolpanel.JmolPanel.AppCloser
- All Implemented Interfaces:
WindowFocusListener, WindowListener, WindowStateListener, EventListener
- Enclosing class:
JmolPanel
To shutdown when run as an application. This is a fairly lame
implementation. A more self-respecting implementation would at least check
to see if a save was needed.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
-
Constructor Details
-
AppCloser
public AppCloser()
-
-
Method Details
-
windowClosing
- Specified by:
windowClosingin interfaceWindowListener- Overrides:
windowClosingin classWindowAdapter
-