org.purl.sword.client
Class GuiClient.QuitAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.purl.sword.client.GuiClient.QuitAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
GuiClient

protected class GuiClient.QuitAction
extends AbstractAction

Action to quit the application.

Author:
Neil Taylor
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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
GuiClient.QuitAction()
          Create the Quit action.
 
Method Summary
 void actionPerformed(ActionEvent event)
          Exit the application.
 
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

GuiClient.QuitAction

public GuiClient.QuitAction()
Create the Quit action.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Exit the application. This method does not confirm the exit.

Parameters:
event - The event information for this action.


Copyright © 2012. All Rights Reserved.