MouseClass class constructor
click clicks a mouse button
The Button to click
doubleClick performs a double click on a mouse button
The Button to click
drag drags the mouse along a certain path In summary, drag presses and holds the left mouse button, moves the mouse and releases the left button
getPosition returns a Point representing the current mouse position
leftClick performs a click with the left mouse button
move moves the mouse cursor along a given path of Points, according to a movement type
Array of Points to follow
Defines the type of mouse movement. Would allow to configured acceleration etc. (Default: linear, no acceleration)
pressButton presses and holds a mouse button
The Button to press and hold
releaseButton releases a mouse button previously pressed via pressButton
The Button to release
rightClick performs a click with the right mouse button
scrollDown scrolls down for a given amount of "steps" Please note that the actual scroll distance of a single "step" is OS dependent
The amount of "steps" to scroll
scrollLeft scrolls left for a given amount of "steps" Please note that the actual scroll distance of a single "step" is OS dependent
The amount of "steps" to scroll
scrollRight scrolls right for a given amount of "steps" Please note that the actual scroll distance of a single "step" is OS dependent
The amount of "steps" to scroll
scrollUp scrolls up for a given amount of "steps" Please note that the actual scroll distance of a single "step" is OS dependent
The amount of "steps" to scroll
setPosition instantly moves the mouse cursor to a given Point
Point to move the cursor to
MouseClass class provides methods to emulate mouse input