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

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.jppf.ui.actions.AbstractUpdatableAction
          extended by org.jppf.ui.monitoring.node.actions.AbstractTopologyAction
              extended by org.jppf.ui.monitoring.node.actions.NodeConfigurationAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, UpdatableAction, ValueChangeListener

public class NodeConfigurationAction
extends AbstractTopologyAction

This action displays an input panel for the user to type a new thread pool size for a node, and updates the node with it.

See Also:
Serialized Form

Field Summary
protected static boolean debugEnabled
          Determines whether debug log statements are enabled.
 
Fields inherited from class org.jppf.ui.monitoring.node.actions.AbstractTopologyAction
nodeDataArray
 
Fields inherited from class org.jppf.ui.actions.AbstractUpdatableAction
BASE, selectedElements
 
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
NodeConfigurationAction()
          Initialize this action.
 
Method Summary
 void actionPerformed(ActionEvent event)
          Perform the action.
 void updateState(List<Object> selectedElements)
          Update this action's enabled state based on a list of selected elements.
 
Methods inherited from class org.jppf.ui.actions.AbstractUpdatableAction
getLocation, localize, setLocation, setupIcon, setupNameAndTooltip, valueChanged
 
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 javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 

Field Detail

debugEnabled

protected static boolean debugEnabled
Determines whether debug log statements are enabled.

Constructor Detail

NodeConfigurationAction

public NodeConfigurationAction()
Initialize this action.

Method Detail

updateState

public void updateState(List<Object> selectedElements)
Update this action's enabled state based on a list of selected elements.

Specified by:
updateState in interface UpdatableAction
Overrides:
updateState in class AbstractTopologyAction
Parameters:
selectedElements - - a list of objects.
See Also:
AbstractUpdatableAction.updateState(java.util.List)

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.