org.yasl.arch.impl.action
Class YASLDefaultSwingAppExitAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.yasl.arch.impl.action.YASLGUIAbstractAction
          extended byorg.yasl.arch.impl.action.YASLSwingAbstractAction
              extended byorg.yasl.arch.impl.action.YASLDefaultSwingAppExitAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable

public class YASLDefaultSwingAppExitAction
extends YASLSwingAbstractAction

Default Swing application exit action.

Version:
1.0
Author:
not attributable
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.yasl.arch.impl.action.YASLGUIAbstractAction
COMMAND_SYNCHRONOUS_CALL
 
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
YASLDefaultSwingAppExitAction(String name, ImageIcon imageIcon, YASLSwingApplication yaslApp)
           
YASLDefaultSwingAppExitAction(String name, String shortName, ImageIcon imageIcon, YASLSwingApplication yaslApp)
           
YASLDefaultSwingAppExitAction(String name, String shortName, YASLSwingApplication yaslApp)
           
YASLDefaultSwingAppExitAction(String name, YASLSwingApplication yaslApp)
           
 
Method Summary
protected  void performAction(ActionEvent e)
          Default implementation calls System.exit(0).
 
Methods inherited from class org.yasl.arch.impl.action.YASLSwingAbstractAction
getYASLSwingApplication
 
Methods inherited from class org.yasl.arch.impl.action.YASLGUIAbstractAction
actionPerformed, getInitialState, getName, getYASLApplication, getYASLGUIApplication, setName, setName, setToInitialState
 
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

YASLDefaultSwingAppExitAction

public YASLDefaultSwingAppExitAction(String name,
                                     YASLSwingApplication yaslApp)

YASLDefaultSwingAppExitAction

public YASLDefaultSwingAppExitAction(String name,
                                     ImageIcon imageIcon,
                                     YASLSwingApplication yaslApp)

YASLDefaultSwingAppExitAction

public YASLDefaultSwingAppExitAction(String name,
                                     String shortName,
                                     YASLSwingApplication yaslApp)

YASLDefaultSwingAppExitAction

public YASLDefaultSwingAppExitAction(String name,
                                     String shortName,
                                     ImageIcon imageIcon,
                                     YASLSwingApplication yaslApp)
Method Detail

performAction

protected void performAction(ActionEvent e)
                      throws Exception
Default implementation calls System.exit(0).

Specified by:
performAction in class YASLGUIAbstractAction
Parameters:
e - ActionEvent
Throws:
Exception