haifa.shopsim.UI
Class CloseAction

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

class CloseAction
extends javax.swing.AbstractAction

A close action for the MainGUI

Version:
1.0
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
CloseAction(MainGUI mainGUI_)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
           
private  void closeShopData()
          Brings application to state it was at startup.
 
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

CloseAction

public CloseAction(MainGUI mainGUI_)
Method Detail

actionPerformed

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

closeShopData

private void closeShopData()
Brings application to state it was at startup.