net.shredzone.ifish.actions
Class ReadDatabaseAction
java.lang.Object
javax.swing.AbstractAction
net.shredzone.ifish.actions.IFishAction
net.shredzone.ifish.actions.AsyncIFishAction
net.shredzone.ifish.actions.ReadDatabaseAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class ReadDatabaseAction
- extends AsyncIFishAction
Read a database from the current directory.
- Version:
- $Id: ReadDatabaseAction.java 291 2009-04-28 21:29:27Z shred $
- See Also:
- Serialized Form
| 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 |
|
Method Summary |
protected void |
action()
The action implementation itself. |
void |
perform()
Perform the action, but ask user if he wants to lose changes before. |
ReadDatabaseAction
public ReadDatabaseAction(IFishPane fish)
- Create a new ReadDatabaseAction.
- Parameters:
fish - Related IFishPane
perform
public void perform()
- Perform the action, but ask user if he wants to lose changes before.
- Overrides:
perform in class AsyncIFishAction
action
protected void action()
- The action implementation itself. Do not call directly.
Note: do not open any dialogs in this method, since the user
will be unable to press any buttons.
- Specified by:
action in class IFishAction
Copyright © 2007-2011
shredzone.org. All Rights Reserved.