com.jme3.input.event
クラス MouseMotionEvent

java.lang.Object
  上位を拡張 com.jme3.input.event.InputEvent
      上位を拡張 com.jme3.input.event.MouseMotionEvent

public class MouseMotionEvent
extends InputEvent

Mouse movement event.

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


コンストラクタの概要
MouseMotionEvent(int x, int y, int dx, int dy, int wheel, int deltaWheel)
           
 
メソッドの概要
 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()
           
 
クラス com.jme3.input.event.InputEvent から継承されたメソッド
getTime, isConsumed, setConsumed, setTime
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

MouseMotionEvent

public MouseMotionEvent(int x,
                        int y,
                        int dx,
                        int dy,
                        int wheel,
                        int deltaWheel)
メソッドの詳細

getDeltaWheel

public int getDeltaWheel()
The change in wheel rotation.

戻り値:
change in wheel rotation.

getDX

public int getDX()
The change in X coordinate

戻り値:
change in X coordinate

getDY

public int getDY()
The change in Y coordinate

戻り値:
change in Y coordinate

getWheel

public int getWheel()
Current mouse wheel value

戻り値:
Current mouse wheel value

getX

public int getX()
Current X coordinate

戻り値:
Current X coordinate

getY

public int getY()
Current Y coordinate

戻り値:
Current Y coordinate

toString

public java.lang.String toString()
オーバーライド:
クラス java.lang.Object 内の toString