Package com.jme3.input.dummy
Class DummyMouseInput
java.lang.Object
com.jme3.input.dummy.DummyInput
com.jme3.input.dummy.DummyMouseInput
- All Implemented Interfaces:
- Input,- MouseInput
DummyMouseInput as an implementation of 
MouseInput that raises no
 input events.- 
Field SummaryFields inherited from class com.jme3.input.dummy.DummyInputinitedFields inherited from interface com.jme3.input.MouseInputAXIS_WHEEL, AXIS_X, AXIS_Y, BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the number of buttons the mouse has.voidsetCursorVisible(boolean visible) Set whether the mouse cursor should be visible or not.voidsetNativeCursor(JmeCursor cursor) Sets the cursor to use.Methods inherited from class com.jme3.input.dummy.DummyInputdestroy, getInputTimeNanos, initialize, isInitialized, setInputListener, updateMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jme3.input.Inputdestroy, getInputTimeNanos, initialize, isInitialized, setInputListener, update
- 
Constructor Details- 
DummyMouseInputpublic DummyMouseInput()
 
- 
- 
Method Details- 
setCursorVisiblepublic void setCursorVisible(boolean visible) Description copied from interface:MouseInputSet whether the mouse cursor should be visible or not.- Specified by:
- setCursorVisiblein interface- MouseInput
- Parameters:
- visible- Whether the mouse cursor should be visible or not.
 
- 
getButtonCountpublic int getButtonCount()Description copied from interface:MouseInputReturns the number of buttons the mouse has. Typically 3 for most mice.- Specified by:
- getButtonCountin interface- MouseInput
- Returns:
- the number of buttons the mouse has.
 
- 
setNativeCursorDescription copied from interface:MouseInputSets the cursor to use.- Specified by:
- setNativeCursorin interface- MouseInput
- Parameters:
- cursor- The cursor to use.
 
 
-