Class BusContentionApplet.BusContentionGraphController
- java.lang.Object
-
- diva.graph.AbstractGraphController
-
- diva.graph.SimpleGraphController
-
- diva.graph.basic.BasicGraphController
-
- ptolemy.domains.csp.demo.BusContention.BusContentionApplet.BusContentionGraphController
-
- All Implemented Interfaces:
GraphController
- Enclosing class:
- BusContentionApplet
public static class BusContentionApplet.BusContentionGraphController extends BasicGraphController
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class diva.graph.basic.BasicGraphController
BasicGraphController.NodeCreator
-
-
Constructor Summary
Constructors Constructor Description BusContentionGraphController()
Create a new basic controller with default node and edge interactors.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initializeInteraction()
Initialize all interaction on the graph pane.-
Methods inherited from class diva.graph.SimpleGraphController
getEdgeController, getEdgeController, getNodeController, getNodeController, setEdgeController, setNodeController
-
Methods inherited from class diva.graph.AbstractGraphController
addEdge, addEdge, addGraphViewListener, addNode, addNode, addNode, addNode, clear, clearEdge, clearNode, dispatch, drawEdge, drawNode, drawNode, getFigure, getGraphModel, getGraphPane, getSelectionModel, removeEdge, removeGraphViewListener, removeNode, rerender, rerenderEdge, rerenderNode, setFigure, setGraphModel, setGraphPane, setSelectionModel
-
-
-
-
Method Detail
-
initializeInteraction
protected void initializeInteraction()
Initialize all interaction on the graph pane. This method is called by the setGraphPane() method of the superclass. This initialization cannot be done in the constructor because the controller does not yet have a reference to its pane at that time.- Overrides:
initializeInteraction
in classBasicGraphController
-
-