public abstract class SimpleGraphController extends AbstractGraphController
Red |
Constructor and Description |
---|
SimpleGraphController()
Create a new basic controller with default node and edge controllers.
|
Modifier and Type | Method and Description |
---|---|
EdgeController |
getEdgeController()
Return the edge controller.
|
EdgeController |
getEdgeController(java.lang.Object edge)
Given an edge, return the controller associated with that
edge.
|
NodeController |
getNodeController()
Return the node controller.
|
NodeController |
getNodeController(java.lang.Object node)
Given an node, return the controller associated with that
node.
|
void |
setEdgeController(EdgeController c)
Set the edge controller.
|
void |
setNodeController(NodeController c)
Set the node controller.
|
addEdge, addEdge, addGraphViewListener, addNode, addNode, addNode, addNode, clear, clearEdge, clearNode, dispatch, drawEdge, drawNode, drawNode, getFigure, getGraphModel, getGraphPane, getSelectionModel, initializeInteraction, removeEdge, removeGraphViewListener, removeNode, rerender, rerenderEdge, rerenderNode, setFigure, setGraphModel, setGraphPane, setSelectionModel
public SimpleGraphController()
public EdgeController getEdgeController()
public NodeController getNodeController()
public EdgeController getEdgeController(java.lang.Object edge)
getEdgeController
in interface GraphController
getEdgeController
in class AbstractGraphController
public NodeController getNodeController(java.lang.Object node)
getNodeController
in interface GraphController
getNodeController
in class AbstractGraphController
public void setEdgeController(EdgeController c)
public void setNodeController(NodeController c)