Parkinson Disease Database

spirals.motol.gui
Class MainFrame_Exit_Action

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by spirals.motol.gui.MainFrame_Exit_Action
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.WindowListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

 class MainFrame_Exit_Action
extends javax.swing.AbstractAction
implements java.awt.event.WindowListener

Action performed when exit button is clicked or window is closing.

Copyright: Copyright (c) 2005 Jan Dolezel

Company: ÈVUT FEL, Prague


Field Summary
(package private)  MainFrame adaptee
          parent MainFrame
 
Fields inherited from class javax.swing.AbstractAction
enabled, changeSupport
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
MainFrame_Exit_Action(MainFrame adaptee)
          create action for MainFrame
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          called when exit button is clicked
private  void exit()
          perform clean exit
 void windowActivated(java.awt.event.WindowEvent e)
          for the sake of Java
 void windowClosed(java.awt.event.WindowEvent e)
          for the sake of Java
 void windowClosing(java.awt.event.WindowEvent e)
          called when window is closing
 void windowDeactivated(java.awt.event.WindowEvent e)
          for the sake of Java
 void windowDeiconified(java.awt.event.WindowEvent e)
          for the sake of Java
 void windowIconified(java.awt.event.WindowEvent e)
          for the sake of Java
 void windowOpened(java.awt.event.WindowEvent e)
          for the sake of Java
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

adaptee

MainFrame adaptee
parent MainFrame

Constructor Detail

MainFrame_Exit_Action

MainFrame_Exit_Action(MainFrame adaptee)
create action for MainFrame

Method Detail

windowActivated

public void windowActivated(java.awt.event.WindowEvent e)
for the sake of Java

Specified by:
windowActivated in interface java.awt.event.WindowListener

windowClosed

public void windowClosed(java.awt.event.WindowEvent e)
for the sake of Java

Specified by:
windowClosed in interface java.awt.event.WindowListener

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent e)
for the sake of Java

Specified by:
windowDeactivated in interface java.awt.event.WindowListener

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)
for the sake of Java

Specified by:
windowDeiconified in interface java.awt.event.WindowListener

windowIconified

public void windowIconified(java.awt.event.WindowEvent e)
for the sake of Java

Specified by:
windowIconified in interface java.awt.event.WindowListener

windowOpened

public void windowOpened(java.awt.event.WindowEvent e)
for the sake of Java

Specified by:
windowOpened in interface java.awt.event.WindowListener

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
called when window is closing

Specified by:
windowClosing in interface java.awt.event.WindowListener

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
called when exit button is clicked

Specified by:
actionPerformed in interface java.awt.event.ActionListener

exit

private void exit()
perform clean exit


Parkinson Disease Database