com.jme3.input.dummy
クラス DummyInput

java.lang.Object
  上位を拡張 com.jme3.input.dummy.DummyInput
すべての実装されたインタフェース:
Input
直系の既知のサブクラス:
DummyKeyInput, DummyMouseInput

public class DummyInput
extends java.lang.Object
implements Input

DummyInput as an implementation of Input that raises no input events.


コンストラクタの概要
DummyInput()
           
 
メソッドの概要
 void destroy()
          Ceases listening to events from the device.
 long getInputTimeNanos()
           
 void initialize()
          Initializes the native side to listen into events from the device.
 boolean isInitialized()
           
 void setInputListener(RawInputListener listener)
          Sets the input listener to receive events from this device.
 void update()
          Queries the device for input.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DummyInput

public DummyInput()
メソッドの詳細

initialize

public void initialize()
インタフェース Input の記述:
Initializes the native side to listen into events from the device.

定義:
インタフェース Input 内の initialize

update

public void update()
インタフェース Input の記述:
Queries the device for input. All events should be sent to the RawInputListener set with setInputListener.

定義:
インタフェース Input 内の update
関連項目:
Input.setInputListener(com.jme3.input.RawInputListener)

destroy

public void destroy()
インタフェース Input の記述:
Ceases listening to events from the device.

定義:
インタフェース Input 内の destroy

isInitialized

public boolean isInitialized()
定義:
インタフェース Input 内の isInitialized
戻り値:
True if the device has been initialized and not destroyed.
関連項目:
Input.initialize(), Input.destroy()

setInputListener

public void setInputListener(RawInputListener listener)
インタフェース Input の記述:
Sets the input listener to receive events from this device. The appropriate events should be dispatched through the callbacks in RawInputListener.

定義:
インタフェース Input 内の setInputListener

getInputTimeNanos

public long getInputTimeNanos()
定義:
インタフェース Input 内の getInputTimeNanos
戻り値:
The current absolute time as nanoseconds. This time is expected to be relative to the time given in InputEvents time property.