Class DummyMouseInput

java.lang.Object
com.jme3.input.dummy.DummyInput
com.jme3.input.dummy.DummyMouseInput
All Implemented Interfaces:
Input, MouseInput

public class DummyMouseInput extends DummyInput implements MouseInput
DummyMouseInput as an implementation of MouseInput that raises no input events.
  • Constructor Details

    • DummyMouseInput

      public DummyMouseInput()
  • Method Details

    • setCursorVisible

      public void setCursorVisible(boolean visible)
      Description copied from interface: MouseInput
      Set whether the mouse cursor should be visible or not.
      Specified by:
      setCursorVisible in interface MouseInput
      Parameters:
      visible - Whether the mouse cursor should be visible or not.
    • getButtonCount

      public int getButtonCount()
      Description copied from interface: MouseInput
      Returns the number of buttons the mouse has. Typically 3 for most mice.
      Specified by:
      getButtonCount in interface MouseInput
      Returns:
      the number of buttons the mouse has.
    • setNativeCursor

      public void setNativeCursor(JmeCursor cursor)
      Description copied from interface: MouseInput
      Sets the cursor to use.
      Specified by:
      setNativeCursor in interface MouseInput
      Parameters:
      cursor - The cursor to use.