org.jpedal.examples.simpleviewer.gui.swing
Class FrameCloser

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by org.jpedal.examples.simpleviewer.gui.swing.FrameCloser
All Implemented Interfaces:
java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener

public class FrameCloser
extends java.awt.event.WindowAdapter

cleanly shutdown if user closes window


Constructor Summary
FrameCloser(Commands currentCommands, org.jpedal.gui.GUIFactory currentGUI, PdfDecoder decode_pdf, Printer currentPrinter, GUIThumbnailPanel thumbnails, Values commonValues, PropertiesFile properties)
           
 
Method Summary
 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameCloser

public FrameCloser(Commands currentCommands,
                   org.jpedal.gui.GUIFactory currentGUI,
                   PdfDecoder decode_pdf,
                   Printer currentPrinter,
                   GUIThumbnailPanel thumbnails,
                   Values commonValues,
                   PropertiesFile properties)
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