org.jppf.ui.monitoring.node.actions
Class CancelTaskAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.jppf.ui.monitoring.node.actions.JPPFAbstractNodeAction
          extended by 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

Field Summary
 
Fields inherited from class org.jppf.ui.monitoring.node.actions.JPPFAbstractNodeAction
dataArray
 
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
CancelTaskAction(String taskId, TopologyData... dataArray)
          Initialize this action.
 
Method Summary
 void actionPerformed(ActionEvent event)
          Perform the action.
 
Methods inherited from class org.jppf.ui.monitoring.node.actions.JPPFAbstractNodeAction
setupIcon
 
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

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.
Method Detail

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.