org.jppf.ui.monitoring.job.actions
Class AbstractJobAction
java.lang.Object
javax.swing.AbstractAction
org.jppf.ui.actions.AbstractUpdatableAction
org.jppf.ui.monitoring.job.actions.AbstractJobAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action, UpdatableAction, ValueChangeListener
- Direct Known Subclasses:
- AbstractSuspendJobAction, CancelJobAction, ResumeJobAction, UpdateMaxNodesAction
public abstract class AbstractJobAction
- extends AbstractUpdatableAction
Common super class for job actions.
- 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. |
jobDataArray
protected JobData[] jobDataArray
- The object representing the JPPF jobs in the tree table.
subjobDataArray
protected JobData[] subjobDataArray
- The object representing the JPPF sub-jobs in the tree table.
AbstractJobAction
public AbstractJobAction()
- 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 AbstractUpdatableAction
- Parameters:
selectedElements - - a list of objects.- See Also:
AbstractUpdatableAction.updateState(java.util.List)
Copyright © 2005-2010 JPPF Team.