public interface NodePressAndDraggingEventListener extends ToolEventListener
The drag displacement is the difference between the start position and the current position in a 2D bottom-left coordinate system.
A tool which declares this listener is notified at a certain rate, up to multiple times per second, the selected nodes.
|Modifier and Type||Method and Description|
Notify mouse is dragging
Notify mouse has been released.
void pressNodes(Node nodes)
nodeshave been pressed by user on the visualization window.
nodes- the clicked nodes
void drag(float displacementX, float displacementY)
displacementX- distance x
displacementY- distance y
Copyright © 2007–2017 Gephi Consortium. All rights reserved.