org.jppf.ui.monitoring.node.actions
Class CancelTaskAction
java.lang.Object
javax.swing.AbstractAction
org.jppf.ui.monitoring.node.actions.JPPFAbstractNodeAction
org.jppf.ui.monitoring.node.actions.CancelTaskAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class CancelTaskAction
- extends JPPFAbstractNodeAction
Attempts to cancel a task that is currently running on a node.
- 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 |
CancelTaskAction
public CancelTaskAction(String taskId,
TopologyData... dataArray)
- Initialize this action.
- Parameters:
taskId - id of the task to cancel.dataArray - - the information on the nodes this action applies to.
actionPerformed
public void actionPerformed(ActionEvent event)
- Perform the action.
- Parameters:
event - not used.- See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)
Copyright © 2005-2010 JPPF Team.