com.lightdev.app.action
Class ExitAction


java.lang.Object

  extended by javax.swing.AbstractAction

      extended by com.lightdev.app.action.ExitAction

All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class ExitAction
extends AbstractAction

Class to exit an application

Version:
2, February 12, 2004
Author:
Ulrich Hilger, Light Development, http://www.lightdev.com, info@lightdev.com, published under the terms and conditions of the GNU General Public License, for details see file in the distribution package of this software as well as any licensing notes inside this documentation
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ExitAction(Application app)
          constructor
 
Method Summary
 void actionPerformed(ActionEvent e)
          log termination of this application and exit
 
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
 

Constructor Detail

ExitAction


public ExitAction(Application app)
constructor

Method Detail

actionPerformed


public void actionPerformed(ActionEvent e)
log termination of this application and exit

Parameters:
e - ActionEvent

Copyright (c) 2004, 2005 Ulrich Hilger