com.trassare.calculator.ui
Class ExitListener
java.lang.Object
com.trassare.calculator.ui.ExitListener
- All Implemented Interfaces:
- ActionListener, EventListener
public class ExitListener
- extends Object
- implements ActionListener
Listens for exit instructions and calls the SaveListener class as
appropriate.
- Version:
- 11 September 2005
- Author:
- Samuel Trassare
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExitListener
public ExitListener(SaveListener inSave)
- Explicit constructor. Requires a SaveListener.
- Parameters:
inSave - the application SaveListener
actionPerformed
public final void actionPerformed(ActionEvent event)
- Executes all actions associated with closing the application.
- Specified by:
actionPerformed in interface ActionListener
- Parameters:
event - the event that fires a closing action.