net.sf.genuine.actions
Class ExitAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bynet.sf.genuine.swing.GenuineAction
          extended bynet.sf.genuine.actions.ExitAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class ExitAction
extends GenuineAction

This action exits the application by invoking the exit service (@link net.sf.genuine.services.ExitService}. The Genuine framework automatically creates and registeres an instance of DefaultExitService if no module has defined another exit service implementation.

Author:
Tim Wellhausen
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
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(ServiceBroker serviceBroker)
          Initializes the action with 'exit' resources
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class net.sf.genuine.swing.GenuineAction
getId
 
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(ServiceBroker serviceBroker)
Initializes the action with 'exit' resources

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)