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.
void pressNodes(Node nodes)
nodeshave been pressed by user on the visualization window.
nodes- the clicked nodes
void drag(float displacementX, float displacementY)
Copyright © 2007-2012 Gephi Consortium. All Rights Reserved.