org.jppf.ui.monitoring.node.actions
Class AbstractTopologyAction
java.lang.Object
javax.swing.AbstractAction
org.jppf.ui.actions.AbstractUpdatableAction
org.jppf.ui.monitoring.node.actions.AbstractTopologyAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action, UpdatableAction, ValueChangeListener
- Direct Known Subclasses:
- AbstractSelectionAction, NodeConfigurationAction, NodeInformationAction, NodeThreadsAction, ResetTaskCounterAction, RestartNodeAction, ServerShutdownRestartAction, ServerStatisticsResetAction, ShutdownNodeAction
public abstract class AbstractTopologyAction
- extends AbstractUpdatableAction
Abstract superclass for all actions in the topology panel.
- Author:
- Laurent Cohen
- 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 |
|
Method Summary |
void |
updateState(List<Object> selectedElements)
Update this action's enabled state based on a list of selected elements. |
nodeDataArray
protected TopologyData[] nodeDataArray
- The object representing the JPPF nodes in the tree table.
AbstractTopologyAction
protected AbstractTopologyAction()
- Iniitialize this action.
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 AbstractUpdatableAction
- Parameters:
selectedElements - a list of objects.- See Also:
AbstractUpdatableAction.updateState(java.util.List)
Copyright © 2005-2010 JPPF Team.