Interface ClickRobot

All Known Implementing Classes:
ClickRobotImpl

public interface ClickRobot
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clickOn(javafx.scene.input.MouseButton... buttons)
    Clicks whatever is under the mouse.
    default void
    clickOn(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)
    Moves the mouse directly to the location specified by the given PointQuery.query() and clicks whatever is under it.
    void
    clickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
    Moves the mouse to the location specified by the given PointQuery.query() using the specified motion (see: Motion) and clicks whatever is under it.
    void
    doubleClickOn(javafx.scene.input.MouseButton... buttons)
    Double-clicks whatever is under the mouse.
    default void
    doubleClickOn(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)
    Moves the mouse directly to the location specified by the given PointQuery.query() and double-clicks whatever is under it.
    void
    doubleClickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
    Moves the mouse to the location specified by the given PointQuery.query() using the specified motion (see: Motion and double-clicks whatever is under it.
  • Method Details

    • clickOn

      void clickOn(javafx.scene.input.MouseButton... buttons)
      Clicks whatever is under the mouse.
      Parameters:
      buttons - the mouse buttons to click
    • clickOn

      default void clickOn(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)
      Moves the mouse directly to the location specified by the given PointQuery.query() and clicks whatever is under it.
      Parameters:
      pointQuery - the pointQuery that specifies the location to move the mouse to
      buttons - the mouse buttons to click
    • clickOn

      void clickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
      Moves the mouse to the location specified by the given PointQuery.query() using the specified motion (see: Motion) and clicks whatever is under it.
      Parameters:
      pointQuery - the pointQuery that specifies the location to move the mouse to
      motion - the type of motion to use for movement
      buttons - the mouse buttons to click
    • doubleClickOn

      void doubleClickOn(javafx.scene.input.MouseButton... buttons)
      Double-clicks whatever is under the mouse.
      Parameters:
      buttons - the mouse buttons to double-click
    • doubleClickOn

      default void doubleClickOn(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)
      Moves the mouse directly to the location specified by the given PointQuery.query() and double-clicks whatever is under it.
      Parameters:
      pointQuery - the pointQuery that specifies the location to move the mouse to
      buttons - the mouse buttons to double-click
    • doubleClickOn

      void doubleClickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
      Moves the mouse to the location specified by the given PointQuery.query() using the specified motion (see: Motion and double-clicks whatever is under it.
      Parameters:
      pointQuery - the pointQuery that specifies the location to move the mouse to
      motion - the type of motion to use for movement
      buttons - the mouse buttons to double-click