com.jme3.input.event
Class MouseMotionEvent

java.lang.Object
  extended by com.jme3.input.event.InputEvent
      extended by com.jme3.input.event.MouseMotionEvent

public class MouseMotionEvent
extends InputEvent

Mouse movement event.

Movement events are only generated if the mouse is on-screen.


Field Summary
 
Fields inherited from class com.jme3.input.event.InputEvent
consumed, time
 
Constructor Summary
MouseMotionEvent(int x, int y, int dx, int dy, int wheel, int deltaWheel)
           
 
Method Summary
 int getDeltaWheel()
          The change in wheel rotation.
 int getDX()
          The change in X coordinate
 int getDY()
          The change in Y coordinate
 int getWheel()
          Current mouse wheel value
 int getX()
          Current X coordinate
 int getY()
          Current Y coordinate
 java.lang.String toString()
           
 
Methods inherited from class com.jme3.input.event.InputEvent
getTime, isConsumed, setConsumed, setTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MouseMotionEvent

public MouseMotionEvent(int x,
                        int y,
                        int dx,
                        int dy,
                        int wheel,
                        int deltaWheel)
Method Detail

getDeltaWheel

public int getDeltaWheel()
The change in wheel rotation.

Returns:
change in wheel rotation.

getDX

public int getDX()
The change in X coordinate

Returns:
change in X coordinate

getDY

public int getDY()
The change in Y coordinate

Returns:
change in Y coordinate

getWheel

public int getWheel()
Current mouse wheel value

Returns:
Current mouse wheel value

getX

public int getX()
Current X coordinate

Returns:
Current X coordinate

getY

public int getY()
Current Y coordinate

Returns:
Current Y coordinate

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object