Preferences Editor

de.jppietsch.gui
Class MainWindow.ExitAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byde.jppietsch.gui.RscAction
          extended byde.jppietsch.gui.MainWindow.ExitAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable
Enclosing class:
MainWindow

public class MainWindow.ExitAction
extends RscAction

Default action to exit the application. It simply calls MainWindow.exit().

Version:
$Revision: 1.3 $
Author:
Jan-Peter Pietsch
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
MainWindow.ExitAction(RscBundle aBundle)
          Localizes this action with the outer class's bundle and the key prefix MainWindow.EXIT.
 
Method Summary
 void actionPerformed(ActionEvent anEvent)
          Calls MainWindow.exit().
 
Methods inherited from class de.jppietsch.gui.RscAction
 
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

MainWindow.ExitAction

public MainWindow.ExitAction(RscBundle aBundle)
Localizes this action with the outer class's bundle and the key prefix MainWindow.EXIT.

Throws:
MissingResourceException - Some resources are missing (like EXIT+NAME).
Method Detail

actionPerformed

public void actionPerformed(ActionEvent anEvent)
Calls MainWindow.exit().

Parameters:
anEvent - is ignored (may be null).

Preferences Editor