gshute.gadgets
Class ExitListener

java.lang.Object
  |
  +--java.awt.event.WindowAdapter
        |
        +--gshute.gadgets.ExitListener

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


Constructor Summary
ExitListener(java.awt.Window w)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void beforeExit()
           
 void exit()
           
 javax.swing.JMenuItem getJMenuItem()
           
 java.awt.MenuItem getMenuItem()
           
 void windowClosing(java.awt.event.WindowEvent e)
           
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExitListener

public ExitListener(java.awt.Window w)
Method Detail

windowClosing

public final void windowClosing(java.awt.event.WindowEvent e)
Overrides:
windowClosing in class java.awt.event.WindowAdapter

actionPerformed

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

exit

public final void exit()

getJMenuItem

public javax.swing.JMenuItem getJMenuItem()

getMenuItem

public java.awt.MenuItem getMenuItem()

beforeExit

public void beforeExit()