haifa.shopsim.UI
Class ExitAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--haifa.shopsim.UI.ExitAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

class ExitAction
extends javax.swing.AbstractAction

This action calls the exitApplication() method in the case of an application. In the case of an applet, the applet is stopped and the HOME_PAGE url is browsed to.

Version:
1.1
See Also:
Serialized Form

Inner classes inherited from class javax.swing.AbstractAction
javax.swing.AbstractAction.ArrayTable
 
Field Summary
(package private)  MainGUI mainGUI
           
 
Fields inherited from class javax.swing.AbstractAction
arrayTable, 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(MainGUI mainGUI_)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, readObject, removePropertyChangeListener, setEnabled, writeObject
 
Methods inherited from class java.lang.Object
, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

mainGUI

MainGUI mainGUI
Constructor Detail

ExitAction

public ExitAction(MainGUI mainGUI_)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Overrides:
actionPerformed in class javax.swing.AbstractAction