|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.niftygui.InputSystemJme
public class InputSystemJme
コンストラクタの概要 | |
---|---|
InputSystemJme(InputManager inputManager)
|
メソッドの概要 | |
---|---|
void |
beginInput()
Called before a batch of input will be sent to this RawInputListener . |
void |
endInput()
Called after a batch of input was sent to this RawInputListener . |
void |
forwardEvents(de.lessvoid.nifty.NiftyInputConsumer nic)
|
void |
onJoyAxisEvent(JoyAxisEvent evt)
Invoked on joystick axis events. |
void |
onJoyButtonEvent(JoyButtonEvent evt)
Invoked on joystick button presses. |
void |
onKeyEvent(KeyInputEvent evt)
Invoked on keyboard key press or release events. |
void |
onMouseButtonEvent(MouseButtonEvent evt)
Invoked on mouse button events. |
void |
onMouseMotionEvent(MouseMotionEvent evt)
Invoked on mouse movement/motion events. |
void |
onTouchEvent(TouchEvent evt)
Invoked on touchscreen touch events. |
void |
setHeight(int height)
|
void |
setMousePosition(int x,
int y)
|
void |
setNifty(de.lessvoid.nifty.Nifty nifty)
|
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public InputSystemJme(InputManager inputManager)
メソッドの詳細 |
---|
public void setNifty(de.lessvoid.nifty.Nifty nifty)
public void setHeight(int height)
height
- The height of the viewport. Used to convert
buttom-left origin to upper-left origin.public void setMousePosition(int x, int y)
de.lessvoid.nifty.spi.input.InputSystem
内の setMousePosition
public void beginInput()
RawInputListener
の記述:RawInputListener
.
RawInputListener
内の beginInput
public void endInput()
RawInputListener
の記述:RawInputListener
.
The listener should set the consumed flag
on any events that have been consumed either at this call or previous calls.
RawInputListener
内の endInput
public void onJoyAxisEvent(JoyAxisEvent evt)
RawInputListener
の記述:
RawInputListener
内の onJoyAxisEvent
public void onJoyButtonEvent(JoyButtonEvent evt)
RawInputListener
の記述:
RawInputListener
内の onJoyButtonEvent
public void onMouseMotionEvent(MouseMotionEvent evt)
RawInputListener
の記述:
RawInputListener
内の onMouseMotionEvent
public void onMouseButtonEvent(MouseButtonEvent evt)
RawInputListener
の記述:
RawInputListener
内の onMouseButtonEvent
public void onKeyEvent(KeyInputEvent evt)
RawInputListener
の記述:
RawInputListener
内の onKeyEvent
public void forwardEvents(de.lessvoid.nifty.NiftyInputConsumer nic)
de.lessvoid.nifty.spi.input.InputSystem
内の forwardEvents
public void onTouchEvent(TouchEvent evt)
RawInputListener
の記述:
RawInputListener
内の onTouchEvent
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |