net.shredzone.ifish.actions
Class QuitAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by net.shredzone.ifish.actions.IFishAction
          extended by net.shredzone.ifish.actions.QuitAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class QuitAction
extends IFishAction

Quit the application.

Version:
$Id: QuitAction.java 291 2009-04-28 21:29:27Z shred $
See Also:
Serialized Form

Nested Class Summary
static interface QuitAction.Quittable
          This interface is implemented by the class that takes care about closing the application.
 
Field Summary
 
Fields inherited from class net.shredzone.ifish.actions.IFishAction
fish, prefs
 
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
QuitAction(IFishPane fish)
          Create a new QuitAction.
 
Method Summary
protected  void action()
          The action implementation itself.
 void setQuitter(QuitAction.Quittable quitter)
           
 
Methods inherited from class net.shredzone.ifish.actions.IFishAction
actionPerformed, perform
 
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

QuitAction

public QuitAction(IFishPane fish)
Create a new QuitAction.

Parameters:
fish - Related IFishPane
Method Detail

setQuitter

public void setQuitter(QuitAction.Quittable quitter)

action

protected void action()
The action implementation itself. Do not call directly.

Specified by:
action in class IFishAction


Copyright © 2007-2011 shredzone.org. All Rights Reserved.