Interface MouseAlgorithm

  • All Known Implementing Classes:
    StandardMouseAlgorithm

    public interface MouseAlgorithm
    Mouse Algorithm to handle both movement and click implementations
    • Method Detail

      • handleWheel

        default void handleWheel​(WheelMode mode)
        Handles a single scroll event.

        Here's a minimal example that uses our built-in scroll events, with a very simple random timing between:

        WheelEvent event = new WheelEvent(mode);
         event.run();
         Thread.sleep(Calculations.random(20, 30));
        Parameters:
        mode - the direction of the scroll
      • clear

        default void clear()