org.jppf.ui.actions
Interface UpdatableAction

All Superinterfaces:
Action, ActionListener, EventListener, ValueChangeListener
All Known Implementing Classes:
AbstractJobAction, AbstractSelectionAction, AbstractSuspendJobAction, AbstractTopologyAction, AbstractUpdatableAction, CancelJobAction, NodeConfigurationAction, NodeInformationAction, NodeThreadsAction, ResetTaskCounterAction, RestartNodeAction, ResumeJobAction, SelectDriversAction, SelectNodesAction, ServerShutdownRestartAction, ServerStatisticsResetAction, ShutdownNodeAction, SuspendJobAction, SuspendRequeueJobAction, UpdateMaxNodesAction

public interface UpdatableAction
extends Action, ValueChangeListener

Interface for actions whose enabled state can be updated dynamically.

Author:
Laurent Cohen

Field Summary
 
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.
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 
Methods inherited from interface org.jppf.ui.options.event.ValueChangeListener
valueChanged
 

Method Detail

updateState

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

Parameters:
selectedElements - a list of objects.


Copyright © 2005-2010 JPPF Team.