jfig.gui
Class JWindowCloser

java.lang.Object
  extended byjava.awt.event.WindowAdapter
      extended byjfig.gui.JWindowCloser
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener

public class JWindowCloser
extends java.awt.event.WindowAdapter
implements java.awt.event.ActionListener


Field Summary
(package private)  boolean dispose
           
(package private)  java.awt.Window window
           
 
Constructor Summary
JWindowCloser(java.awt.Window window, boolean dispose)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void windowClosing(java.awt.event.WindowEvent we)
           
 
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
 

Field Detail

window

java.awt.Window window

dispose

boolean dispose
Constructor Detail

JWindowCloser

public JWindowCloser(java.awt.Window window,
                     boolean dispose)
Method Detail

windowClosing

public void windowClosing(java.awt.event.WindowEvent we)
Specified by:
windowClosing in interface java.awt.event.WindowListener

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener