public class DummyMouseInput extends DummyInput implements MouseInput
MouseInput
that raises no
input events.inited
AXIS_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, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, getInputTimeNanos, initialize, isInitialized, setInputListener, update
public void setCursorVisible(boolean visible)
MouseInput
setCursorVisible
in interface MouseInput
visible
- Whether the mouse cursor should be visible or not.public int getButtonCount()
MouseInput
getButtonCount
in interface MouseInput
public void setNativeCursor(JmeCursor cursor)
MouseInput
setNativeCursor
in interface MouseInput
cursor
- The cursor to use.