com.jme3.niftygui
クラス InputSystemJme

java.lang.Object
  上位を拡張 com.jme3.niftygui.InputSystemJme
すべての実装されたインタフェース:
RawInputListener, de.lessvoid.nifty.spi.input.InputSystem

public class InputSystemJme
extends java.lang.Object
implements de.lessvoid.nifty.spi.input.InputSystem, RawInputListener


コンストラクタの概要
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
 

コンストラクタの詳細

InputSystemJme

public InputSystemJme(InputManager inputManager)
メソッドの詳細

setNifty

public void setNifty(de.lessvoid.nifty.Nifty nifty)

setHeight

public void setHeight(int height)
パラメータ:
height - The height of the viewport. Used to convert buttom-left origin to upper-left origin.

setMousePosition

public void setMousePosition(int x,
                             int y)
定義:
インタフェース de.lessvoid.nifty.spi.input.InputSystem 内の setMousePosition

beginInput

public void beginInput()
インタフェース RawInputListener の記述:
Called before a batch of input will be sent to this RawInputListener.

定義:
インタフェース RawInputListener 内の beginInput

endInput

public void endInput()
インタフェース RawInputListener の記述:
Called after a batch of input was sent to this RawInputListener. The listener should set the consumed flag on any events that have been consumed either at this call or previous calls.

定義:
インタフェース RawInputListener 内の endInput

onJoyAxisEvent

public void onJoyAxisEvent(JoyAxisEvent evt)
インタフェース RawInputListener の記述:
Invoked on joystick axis events.

定義:
インタフェース RawInputListener 内の onJoyAxisEvent

onJoyButtonEvent

public void onJoyButtonEvent(JoyButtonEvent evt)
インタフェース RawInputListener の記述:
Invoked on joystick button presses.

定義:
インタフェース RawInputListener 内の onJoyButtonEvent

onMouseMotionEvent

public void onMouseMotionEvent(MouseMotionEvent evt)
インタフェース RawInputListener の記述:
Invoked on mouse movement/motion events.

定義:
インタフェース RawInputListener 内の onMouseMotionEvent

onMouseButtonEvent

public void onMouseButtonEvent(MouseButtonEvent evt)
インタフェース RawInputListener の記述:
Invoked on mouse button events.

定義:
インタフェース RawInputListener 内の onMouseButtonEvent

onKeyEvent

public void onKeyEvent(KeyInputEvent evt)
インタフェース RawInputListener の記述:
Invoked on keyboard key press or release events.

定義:
インタフェース RawInputListener 内の onKeyEvent

forwardEvents

public void forwardEvents(de.lessvoid.nifty.NiftyInputConsumer nic)
定義:
インタフェース de.lessvoid.nifty.spi.input.InputSystem 内の forwardEvents

onTouchEvent

public void onTouchEvent(TouchEvent evt)
インタフェース RawInputListener の記述:
Invoked on touchscreen touch events.

定義:
インタフェース RawInputListener 内の onTouchEvent