org.openscience.jmol.app.jmolpanel
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 final 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmolPanel.AppCloser
protected JmolPanel.AppCloser()
windowClosing
public void windowClosing(WindowEvent e)
- Specified by:
windowClosing
in interface WindowListener
- Overrides:
windowClosing
in class WindowAdapter