org.jppf.ui.monitoring.node.actions
Class AbstractSelectionAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.jppf.ui.actions.AbstractUpdatableAction
          extended by org.jppf.ui.monitoring.node.actions.AbstractTopologyAction
              extended by org.jppf.ui.monitoring.node.actions.AbstractSelectionAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, UpdatableAction, ValueChangeListener
Direct Known Subclasses:
SelectDriversAction, SelectNodesAction

public abstract class AbstractSelectionAction
extends AbstractTopologyAction

Abstract superclass for actions that select nodes in the tree table.

Author:
Laurent Cohen
See Also:
Serialized Form

Field Summary
protected  NodeDataPanel panel
          The tree table panel to which this action applies.
 
Fields inherited from class org.jppf.ui.monitoring.node.actions.AbstractTopologyAction
nodeDataArray
 
Fields inherited from class org.jppf.ui.actions.AbstractUpdatableAction
BASE, location, selectedElements
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
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
 
Constructor Summary
AbstractSelectionAction(NodeDataPanel panel)
          Initialize this action with the specified tree table panel.
 
Method Summary
protected  List<DefaultMutableTreeNode> getDriverNodes()
          Get the list of all tree nodes representing a driver.
 
Methods inherited from class org.jppf.ui.monitoring.node.actions.AbstractTopologyAction
updateState
 
Methods inherited from class org.jppf.ui.actions.AbstractUpdatableAction
getLocation, localize, setLocation, setupIcon, setupNameAndTooltip, valueChanged
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Field Detail

panel

protected NodeDataPanel panel
The tree table panel to which this action applies.

Constructor Detail

AbstractSelectionAction

public AbstractSelectionAction(NodeDataPanel panel)
Initialize this action with the specified tree table panel.

Parameters:
panel - the tree table panel to which this action applies.
Method Detail

getDriverNodes

protected List<DefaultMutableTreeNode> getDriverNodes()
Get the list of all tree nodes representing a driver.

Returns:
a list of DefaultMutableTreeNode instances.


Copyright © 2005-2010 JPPF Team.