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

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.jppf.ui.monitoring.node.actions.JPPFAbstractNodeAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Direct Known Subclasses:
CancelTaskAction, RestartTaskAction

public abstract class JPPFAbstractNodeAction
extends AbstractAction

Abstract superclass for popup menu actions used in the ui.

Author:
Laurent Cohen
See Also:
Serialized Form

Field Summary
protected  TopologyData[] dataArray
          JMX connections this action applies to.
 
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
protected JPPFAbstractNodeAction(TopologyData... dataArray)
          Initialize this action with the specified JMX connections.
 
Method Summary
protected  void setupIcon(String name)
          Set the icon for this action using the specified image file name.
 
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
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Field Detail

dataArray

protected TopologyData[] dataArray
JMX connections this action applies to.

Constructor Detail

JPPFAbstractNodeAction

protected JPPFAbstractNodeAction(TopologyData... dataArray)
Initialize this action with the specified JMX connections.

Parameters:
dataArray - - the information on the nodes this action applies to.
Method Detail

setupIcon

protected void setupIcon(String name)
Set the icon for this action using the specified image file name.

Parameters:
name - the name of the icon image file.


Copyright © 2005-2010 JPPF Team.