ucar.jpeg.jj2000.disp
Class ExitHandler
java.lang.Object
java.awt.event.WindowAdapter
ucar.jpeg.jj2000.disp.ExitHandler
- All Implemented Interfaces:
- WindowFocusListener, WindowListener, WindowStateListener, EventListener
public class ExitHandler
- extends WindowAdapter
This class implements the WindowHandler for the ImageFrames
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExitHandler
public ExitHandler(Decoder dec)
- Class constructor. Keep a reference to the decoder to properly
exit when windowClosing method is called.
windowClosing
public void windowClosing(WindowEvent evt)
- Close the window and exit the application
- Specified by:
windowClosing
in interface WindowListener
- Overrides:
windowClosing
in class WindowAdapter
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.