trassare.com

com.trassare.calculator.ui
Class ExitListener

java.lang.Object
  extended by 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

Constructor Summary
ExitListener(SaveListener inSave)
          Explicit constructor.
 
Method Summary
 void actionPerformed(ActionEvent event)
          Executes all actions associated with closing the application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExitListener

public ExitListener(SaveListener inSave)
Explicit constructor. Requires a SaveListener.

Parameters:
inSave - the application SaveListener
Method Detail

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.

trassare.com