public class DummyMouseInput extends DummyInput implements MouseInput
MouseInput that raises no
input events.initedAXIS_WHEEL, AXIS_X, AXIS_Y, BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT| Constructor and Description |
|---|
DummyMouseInput() |
| Modifier and Type | Method and Description |
|---|---|
int |
getButtonCount()
Returns the number of buttons the mouse has.
|
void |
setCursorVisible(boolean visible)
Set whether the mouse cursor should be visible or not.
|
void |
setNativeCursor(JmeCursor cursor)
Sets the cursor to use.
|
destroy, getInputTimeNanos, initialize, isInitialized, setInputListener, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, getInputTimeNanos, initialize, isInitialized, setInputListener, updatepublic void setCursorVisible(boolean visible)
MouseInputsetCursorVisible in interface MouseInputvisible - Whether the mouse cursor should be visible or not.public int getButtonCount()
MouseInputgetButtonCount in interface MouseInputpublic void setNativeCursor(JmeCursor cursor)
MouseInputsetNativeCursor in interface MouseInputcursor - The cursor to use.