fr.ifremer.isisfish.ui.script.action
Class CancelAction
java.lang.Object
javax.swing.AbstractAction
fr.ifremer.isisfish.ui.util.IsisAction
fr.ifremer.isisfish.ui.script.action.CancelAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
Deprecated. C'est pas evident de faire des Actions swing avec jaxx
public class CancelAction
- extends IsisAction
Cancel action. Do nothing, just close current dialog.
- Version:
- $Revision: 3124 $
Last update : $Date: 2010-11-29 19:14:09 +0100 (lun., 29 nov. 2010) $
By : $Author: chatellier $
- Author:
- chatellier
- 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 |
perform(ActionEvent e)
Deprecated. perform safelly action after IsisAction.prepare() was invoked
This method is only called if used was true |
protected boolean |
prepare()
Deprecated. Prepare data for action, and find out if there is really something to
do here. |
CancelAction
public CancelAction(JDialog dialog)
- Deprecated.
- Constructor.
- Parameters:
dialog - dialog to close on action performed
prepare
protected boolean prepare()
- Deprecated.
- Description copied from class:
IsisAction
- Prepare data for action, and find out if there is really something to
do here.
- Specified by:
prepare in class IsisAction
- Returns:
true if there is something to do here,
false otherwise
perform
protected void perform(ActionEvent e)
- Deprecated.
- Description copied from class:
IsisAction
- perform safelly action after
IsisAction.prepare() was invoked
This method is only called if used was true
- Specified by:
perform in class IsisAction
- Parameters:
e - event source
Copyright © 1999-2011 CodeLutin. All Rights Reserved.