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, setMouseFilter
GraphController _controller
public EdgeCreator(GraphController controller)
public void mousePressed(LayerEvent e)
mousePressed
in interface LayerListener
mousePressed
in class AbstractInteractor
public abstract java.lang.Object createEdge()