public class SchematicGraphController extends AbstractGraphController
Modifier and Type | Class and Description |
---|---|
class |
SchematicGraphController.ManhattanEdgeRenderer
A class that renders edges as ManhattanEdges.
|
Constructor and Description |
---|
SchematicGraphController(Application application)
Create a new Graph controllers with node and edge controllers
suitable for a simple schematic editor.
|
Modifier and Type | Method and Description |
---|---|
EdgeController |
getEdgeController(Object edge)
Given an edge, return the controller associated with that
edge.
|
BasicNodeController |
getEntityController()
Return the entity controller.
|
BasicEdgeController |
getLinkController()
Return the link controller.
|
NodeController |
getNodeController(Object node)
Given an node, return the controller associated with that
node.
|
BasicNodeController |
getPortController()
Return the port controller.
|
protected void |
initializeInteraction()
Initialize all interaction on the graph pane.
|
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
public SchematicGraphController(Application application)
protected void initializeInteraction()
initializeInteraction
in class AbstractGraphController
public BasicNodeController getEntityController()
public BasicNodeController getPortController()
public BasicEdgeController getLinkController()
public EdgeController getEdgeController(Object edge)
getEdgeController
in interface GraphController
getEdgeController
in class AbstractGraphController
public NodeController getNodeController(Object node)
getNodeController
in interface GraphController
getNodeController
in class AbstractGraphController
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.