net.shredzone.ifish.actions
Class SaveDatabaseAction

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

public class SaveDatabaseAction
extends AsyncIFishAction
implements PropertyChangeListener

Saves a database to the current directory.

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

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
SaveDatabaseAction(IFishPane fish)
          Create a new SaveDatabaseAction.
 
Method Summary
protected  void action()
          The action implementation itself.
 void propertyChange(PropertyChangeEvent evt)
          PropertyChangeListener implementation, do not use.
protected  void updateState()
          Update the state of this action.
 
Methods inherited from class net.shredzone.ifish.actions.AsyncIFishAction
perform, performSync
 
Methods inherited from class net.shredzone.ifish.actions.IFishAction
actionPerformed
 
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

SaveDatabaseAction

public SaveDatabaseAction(IFishPane fish)
Create a new SaveDatabaseAction.

Parameters:
fish - Related IFishPane
Method Detail

propertyChange

public void propertyChange(PropertyChangeEvent evt)
PropertyChangeListener implementation, do not use.

Specified by:
propertyChange in interface PropertyChangeListener
Parameters:
evt - PropertyChangeEvent

updateState

protected void updateState()
Update the state of this action.


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.