fr.ifremer.isisfish.ui.script.action
Class CancelAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by fr.ifremer.isisfish.ui.util.IsisAction
          extended by 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 (Mon, 29 Nov 2010) $ By : $Author: chatellier $
Author:
chatellier
See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.ifremer.isisfish.ui.util.IsisAction
dialog, used
 
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
CancelAction(JDialog dialog)
          Deprecated. Constructor.
 
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.
 
Methods inherited from class fr.ifremer.isisfish.ui.util.IsisAction
actionPerformed, finish, isUsed, needDispose
 
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

CancelAction

public CancelAction(JDialog dialog)
Deprecated. 
Constructor.

Parameters:
dialog - dialog to close on action performed
Method Detail

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-2012 CodeLutin. All Rights Reserved.