haifa.shopsim.UI
Class MainGUI.ExitAction

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

class MainGUI.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.

See Also:
Serialized Form

Inner classes inherited from class javax.swing.AbstractAction
javax.swing.AbstractAction.ArrayTable
 
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
MainGUI.ExitAction()
           
 
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
 

Constructor Detail

MainGUI.ExitAction

public MainGUI.ExitAction()
Method Detail

actionPerformed

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