JmolPanel.AppCloser
Date: 2019-10-22

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:
    java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener
  Enclosing class:
    JmolPanel

      protected final class JmolPanel.AppCloser
      extends java.awt.event.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
    Modifier | Constructor and Description
    --- | ---
    `protected` | `AppCloser()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `windowClosing(java.awt.event.WindowEvent e)`

    - ### Methods inherited from class java.awt.event.WindowAdapter

      `windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AppCloser

          protected AppCloser()

  - ### Method Detail

    - #### windowClosing

          public void windowClosing(java.awt.event.WindowEvent e)

      Specified by:
        `windowClosing` in interface `java.awt.event.WindowListener`
      Overrides:
        `windowClosing` in class `java.awt.event.WindowAdapter`