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
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 |
ExitListener
public ExitListener(java.awt.Window w)
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()