|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectcom.jme3.input.event.InputEvent
com.jme3.input.event.MouseButtonEvent
public class MouseButtonEvent
Mouse button press/release event.
| コンストラクタの概要 | |
|---|---|
MouseButtonEvent(int btnIndex,
boolean pressed,
int x,
int y)
|
|
| メソッドの概要 | |
|---|---|
int |
getButtonIndex()
Returns the mouse button index. |
int |
getX()
The X coordinate of the mouse when the event was generated. |
int |
getY()
The Y coordinate of the mouse when the event was generated. |
boolean |
isPressed()
Returns true if the mouse button was pressed, false if it was released. |
boolean |
isReleased()
Returns true if the mouse button was released, false if it was pressed. |
java.lang.String |
toString()
|
| クラス com.jme3.input.event.InputEvent から継承されたメソッド |
|---|
getTime, isConsumed, setConsumed, setTime |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public MouseButtonEvent(int btnIndex,
boolean pressed,
int x,
int y)
| メソッドの詳細 |
|---|
public int getButtonIndex()
See constants in MouseInput.
public boolean isPressed()
public boolean isReleased()
public int getX()
public int getY()
public java.lang.String toString()
java.lang.Object 内の toString
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||