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
protected class JmolPanel.AppCloser extends WindowAdapter
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 Constructor Description AppCloser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
windowClosing(WindowEvent e)
-
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
-
-
-
-
Method Detail
-
windowClosing
public void windowClosing(WindowEvent e)
- Specified by:
windowClosing
in interfaceWindowListener
- Overrides:
windowClosing
in classWindowAdapter
-
-