public class NodeDragInteractor extends DragInteractor
| Constructor and Description |
|---|
NodeDragInteractor(GraphController controller)
Create a new NodeDragInteractor and give it a pointer
to its controller to it can find other useful objects
|
| Modifier and Type | Method and Description |
|---|---|
void |
translate(LayerEvent e,
double x,
double y)
Drag all selected nodes and move any attached edges
|
addLayerListener, appendConstraint, constrainPoint, fireLayerEvent, getSelectiveEnabled, getTargetArray, getX, getY, mouseDragged, mousePressed, mouseReleased, prependConstraint, removeLayerListener, setSelectiveEnabled, setTargetArray, setup, targetsaccept, getMouseFilter, isConsuming, isEnabled, isMotionEnabled, mouseClicked, mouseEntered, mouseExited, mouseMoved, setConsuming, setEnabled, setMotionEnabled, setMouseFilterpublic NodeDragInteractor(GraphController controller)
public void translate(LayerEvent e, double x, double y)
translate in class DragInteractorCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.