|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdiva.canvas.interactor.AbstractInteractor
diva.graph.EdgeCreator
public abstract class EdgeCreator
An interactor that interactively drags edges from one node to another.
| Red |
| Field Summary | |
|---|---|
(package private) GraphController |
_controller
|
| Constructor Summary | |
|---|---|
EdgeCreator(GraphController controller)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class diva.canvas.interactor.AbstractInteractor |
|---|
accept, getMouseFilter, isConsuming, isEnabled, isMotionEnabled, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, setConsuming, setEnabled, setMotionEnabled, setMouseFilter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
GraphController _controller
| Constructor Detail |
|---|
public EdgeCreator(GraphController controller)
| Method Detail |
|---|
public void mousePressed(LayerEvent e)
mousePressed in interface LayerListenermousePressed in class AbstractInteractorpublic abstract java.lang.Object createEdge()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||