|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.canvas.interactor.AbstractInteractor
diva.canvas.interactor.CompositeInteractor
diva.canvas.interactor.SelectionInteractor
diva.graphx.interaction.NodeInteractor
public class NodeInteractor
An interactor for nodes.
Constructor Summary | |
---|---|
NodeInteractor(GraphController controller)
Create a new node interactor that belongs to the given controller. |
|
NodeInteractor(GraphController controller,
SelectionModel sm)
Create a new node interactor that belongs to the given controller and that uses the given selection model |
Method Summary | |
---|---|
DragInteractor |
getDragInteractor()
Get the interactor that drags nodes |
GraphController |
getGraphController()
Return the graph controller that manages this interactor. |
void |
setDragInteractor(DragInteractor i)
Set the interactor that drags nodes |
Methods inherited from class diva.canvas.interactor.SelectionInteractor |
---|
accept, getSelectionFilter, getSelectionModel, getSelectionRenderer, getToggleFilter, isSelected, mousePressed, setConsuming, setPrototypeDecorator, setSelectionFilter, setSelectionManipulator, setSelectionModel, setSelectionRenderer, setToggleFilter |
Methods inherited from class diva.canvas.interactor.CompositeInteractor |
---|
addInteractor, interactors, isMotionEnabled, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, removeInteractor |
Methods inherited from class diva.canvas.interactor.AbstractInteractor |
---|
getMouseFilter, isConsuming, isEnabled, mouseClicked, setEnabled, setMotionEnabled, setMouseFilter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeInteractor(GraphController controller)
public NodeInteractor(GraphController controller, SelectionModel sm)
Method Detail |
---|
public DragInteractor getDragInteractor()
public GraphController getGraphController()
public void setDragInteractor(DragInteractor i)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |