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, targets
accept, getMouseFilter, isConsuming, isEnabled, isMotionEnabled, mouseClicked, mouseEntered, mouseExited, mouseMoved, setConsuming, setEnabled, setMotionEnabled, setMouseFilter
public NodeDragInteractor(GraphController controller)
public void translate(LayerEvent e, double x, double y)
translate
in class DragInteractor
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.