org.jppf.ui.monitoring.job.actions
Class AbstractSuspendJobAction
java.lang.Object
javax.swing.AbstractAction
org.jppf.ui.actions.AbstractUpdatableAction
org.jppf.ui.monitoring.job.actions.AbstractJobAction
org.jppf.ui.monitoring.job.actions.AbstractSuspendJobAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action, UpdatableAction, ValueChangeListener
- Direct Known Subclasses:
- SuspendJobAction, SuspendRequeueJobAction
public abstract class AbstractSuspendJobAction
- extends AbstractJobAction
This action suspends a job.
- See Also:
- Serialized Form
|
Field Summary |
protected boolean |
requeue
Determines if the suspended sub-job should be requeued on the driver side. |
| 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 |
requeue
protected boolean requeue
- Determines if the suspended sub-job should be requeued on the driver side.
AbstractSuspendJobAction
public AbstractSuspendJobAction()
- Initialize 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 AbstractJobAction
- 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.