|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.input.dummy.DummyInput
com.jme3.input.dummy.DummyMouseInput
public class DummyMouseInput
DummyMouseInput as an implementation of MouseInput
that raises no
input events.
Field Summary |
---|
Fields inherited from class com.jme3.input.dummy.DummyInput |
---|
inited |
Fields inherited from interface com.jme3.input.MouseInput |
---|
AXIS_WHEEL, AXIS_X, AXIS_Y, BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT |
Constructor Summary | |
---|---|
DummyMouseInput()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.jme3.input.dummy.DummyInput |
---|
destroy, getInputTimeNanos, initialize, isInitialized, setInputListener, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.jme3.input.Input |
---|
destroy, getInputTimeNanos, initialize, isInitialized, setInputListener, update |
Constructor Detail |
---|
public DummyMouseInput()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |