Class GraphActionHandler
java.lang.Object
org.jppf.ui.actions.AbstractActionHandler
org.jppf.ui.monitoring.node.graph.GraphActionHandler
- All Implemented Interfaces:
ActionHandler
Abstract implementation of the
ActionManager interface for mxGraph components.- Author:
- Laurent Cohen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected edu.uci.ics.jung.visualization.VisualizationViewer<org.jppf.client.monitoring.topology.AbstractTopologyComponent,Number> The JTreeTable whose actions are managed.Fields inherited from class org.jppf.ui.actions.AbstractActionHandler
actionMap, selectedElements -
Constructor Summary
ConstructorsConstructorDescriptionGraphActionHandler(edu.uci.ics.jung.visualization.VisualizationViewer<org.jppf.client.monitoring.topology.AbstractTopologyComponent, Number> graph) Initialize this action manager with the specified JTreeTable component. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCompute the list of elements selected in the component.Methods inherited from class org.jppf.ui.actions.AbstractActionHandler
getAction, getSelectedElements, putAction, updateActions
-
Field Details
-
graph
protected edu.uci.ics.jung.visualization.VisualizationViewer<org.jppf.client.monitoring.topology.AbstractTopologyComponent,Number> graphThe JTreeTable whose actions are managed.
-
-
Constructor Details
-
GraphActionHandler
public GraphActionHandler(edu.uci.ics.jung.visualization.VisualizationViewer<org.jppf.client.monitoring.topology.AbstractTopologyComponent, Number> graph) Initialize this action manager with the specified JTreeTable component.- Parameters:
graph- the graph whose actions are managed.
-
-
Method Details
-
computeSelectedElements
protected void computeSelectedElements()Compute the list of elements selected in the component.
-