Package org.jppf.ui.actions
Interface UpdatableAction
- All Superinterfaces:
Action,ActionListener,EventListener,ValueChangeListener
- All Known Implementing Classes:
AbstractGraphSelectionAction,AbstractJobAction,AbstractSelectionAction,AbstractSuspendJobAction,AbstractTopologyAction,AbstractUpdatableAction,CancelDeferredAction,CancelJobAction,ExpandOrCollapseGraphAction,GCAction,HeapDumpAction,LoadBalancingAction,NodeConfigurationAction,NodeThreadsAction,ProvisioningAction,ReconnectNodeAction,ResetTaskCounterAction,ResumeJobAction,SelectAllAction,SelectDriversAction,SelectGraphDriversAction,SelectGraphNodesAction,SelectJobsAction,SelectNodesAction,ServerShutdownRestartAction,ServerStatisticsResetAction,ShowHideColumnsAction,ShutdownOrRestartNodeAction,SuspendJobAction,SuspendRequeueJobAction,SystemInformationAction,ThreadDumpAction,ThresholdSettingsAction,ToggleLayoutAction,ToggleMasterSlaveRelationShipsAction,ToggleModeAction,ToggleNodeActiveAction,UpdateMaxNodesAction,UpdatePriorityAction
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
Modifier and TypeMethodDescriptionvoidupdateState(List<Object> selectedElements) Update this action's enabled state based on a list of selected elements.Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledMethods inherited from interface java.awt.event.ActionListener
actionPerformedMethods inherited from interface org.jppf.ui.options.event.ValueChangeListener
valueChanged
-
Method Details
-
updateState
Update this action's enabled state based on a list of selected elements.- Parameters:
selectedElements- a list of objects.
-