org.jppf.ui.monitoring.node.actions
Class ServerStatisticsResetAction
java.lang.Object
javax.swing.AbstractAction
org.jppf.ui.actions.AbstractUpdatableAction
org.jppf.ui.monitoring.node.actions.AbstractTopologyAction
org.jppf.ui.monitoring.node.actions.ServerStatisticsResetAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action, UpdatableAction, ValueChangeListener
public class ServerStatisticsResetAction
- extends AbstractTopologyAction
This action stops 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 |
ServerStatisticsResetAction
public ServerStatisticsResetAction()
- Initialize this action.
updateState
public void updateState(List<Object> selectedElements)
- Update this action's enabled state based on a list of selected elements.
This method sets the enabled state to true if at list one driver is selected in the tree.
- 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 - encapsulates the source of the event and additional information.- See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)
Copyright © 2005-2010 JPPF Team.