public class SimpleGraphController extends GraphController
Modifier and Type | Class and Description |
---|---|
protected class |
SimpleGraphController.NodeCreator
An inner class that places a node at the clicked-on point
on the screen, if control-clicked with mouse button 1.
|
Constructor and Description |
---|
SimpleGraphController(GraphicsPane pane,
GraphModel model)
Create a new controller with default node and edge controllers.
|
Modifier and Type | Method and Description |
---|---|
EdgeController |
getEdgeController(Object edge)
Return the edge controller.
|
NodeController |
getNodeController(Object node)
Return the node controller.
|
protected void |
initializeInteraction()
Initialize interaction on the graph pane.
|
addEdge, addEdge, addGraphViewListener, addNode, addNode, dispatch, getGraphicsPane, getGraphModel, getSelectionModel, removeEdge, removeGraphViewListener, removeNode, render, rerender, rerenderSubGraph, setGraphicsPane, setGraphModel, setHead, setSelectionModel, setTail
public SimpleGraphController(GraphicsPane pane, GraphModel model)
public EdgeController getEdgeController(Object edge)
getEdgeController
in class GraphController
public NodeController getNodeController(Object node)
getNodeController
in class GraphController
protected void initializeInteraction()
initializeInteraction
in class GraphController
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.