org.jagatoo.input.listeners
Interface MouseStopListener

All Known Subinterfaces:
InputListener
All Known Implementing Classes:
InputAdapter, ListeningInputHandler, MouseAdapter

public interface MouseStopListener

This listener is notified, when the mouse has not been moved for a specified amount of time


Method Summary
 long getMouseStopDelay()
           
 void onMouseStopped(MouseStoppedEvent e, int x, int y)
          Invoked when a change of the mouse's position has not been registered for a certain amount of time.
 

Method Detail

getMouseStopDelay

long getMouseStopDelay()
Returns:
the number of nano-seconds, the mouse needs to have stopped to fire this MouseStopListener.

onMouseStopped

void onMouseStopped(MouseStoppedEvent e,
                    int x,
                    int y)
Invoked when a change of the mouse's position has not been registered for a certain amount of time.

Parameters:
e - the MouseStoppedEvent
x -
y -