easik.ui.menu
Class FileQuitAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by easik.ui.menu.FileQuitAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class FileQuitAction
extends javax.swing.AbstractAction

Menu action for quitting the application.

Version:
2006-06-23 Kevin Green
Author:
Rob Fletcher 2005, Kevin Green 2006
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
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
FileQuitAction()
          Set up the quit menu option.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Quits the application, warns if the sketch is dirty.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileQuitAction

public FileQuitAction()
Set up the quit menu option.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Quits the application, warns if the sketch is dirty.

Parameters:
e - The action event