org.jrabbit.base.input
Interface MouseMotionListener


public interface MouseMotionListener

A MouseMotionListener is an interface used to provide automatic notification of Mouse movement. To receive notifications, add a listener to MouseHandler. If the object receiving updates is no longer being used, remove it from the MouseHandler. NOTE: A MouseMotionListener does not receive updates about mouse button events. To receive those, look at MouseListener.

Author:
Chris Molini

Method Summary
 void mouseMoved(int deltaX, int deltaY)
          Notifies the MouseMotionListener when the mouse cursor is moved.
 

Method Detail

mouseMoved

void mouseMoved(int deltaX,
                int deltaY)
Notifies the MouseMotionListener when the mouse cursor is moved. NOTE: +Y is down the screen.

Parameters:
deltaX - The amount the mouse moved on the x-axis.
deltaY - The amount the mouse moved on the y-axis.