public class NodeInteractor extends SelectionInteractor
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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
|
accept, getSelectionFilter, getSelectionModel, getSelectionRenderer, getToggleFilter, isSelected, mousePressed, setConsuming, setPrototypeDecorator, setSelectionFilter, setSelectionManipulator, setSelectionModel, setSelectionRenderer, setToggleFilter
addInteractor, interactors, isMotionEnabled, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, removeInteractor
getMouseFilter, isConsuming, isEnabled, mouseClicked, setEnabled, setMotionEnabled, setMouseFilter
public NodeInteractor(GraphController controller)
public NodeInteractor(GraphController controller, SelectionModel sm)
public DragInteractor getDragInteractor()
public GraphController getGraphController()
public void setDragInteractor(DragInteractor i)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.