public abstract class EdgeCreator extends AbstractInteractor
| Red |
| Modifier and Type | Field and Description |
|---|---|
(package private) GraphController |
_controller |
| Constructor and Description |
|---|
EdgeCreator(GraphController controller) |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Object |
createEdge()
Create a new Edge.
|
void |
mousePressed(LayerEvent e)
Create a new edge, add it to the graph controller and add
the connector to the selection.
|
accept, getMouseFilter, isConsuming, isEnabled, isMotionEnabled, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, setConsuming, setEnabled, setMotionEnabled, setMouseFilterGraphController _controller
public EdgeCreator(GraphController controller)
public void mousePressed(LayerEvent e)
mousePressed in interface LayerListenermousePressed in class AbstractInteractorpublic abstract java.lang.Object createEdge()