Interface NodePressingEventListener

  • All Superinterfaces:
    ToolEventListener

    public interface NodePressingEventListener
    extends ToolEventListener
    Tool mouse pressing listener. Listen to continuous mouse pressing on the visualization window and trigger selected nodes.

    A tool which declares this listener is notified at a certain rate, up to multiple times per second, the selected nodes.

    Author:
    Mathieu Bastian
    See Also:
    Tool
    • Method Detail

      • pressingNodes

        void pressingNodes​(Node[] nodes)
        Notify nodes are currently pressed.
        Parameters:
        nodes - the pressed nodes array
      • released

        void released()
        Notify mouse has been released.