Module org.testfx

Interface TypeRobot

  • All Known Implementing Classes:
    TypeRobotImpl

    public interface TypeRobot
    • Method Detail

      • push

        void push​(KeyCode... combination)
        Pushes a given key combination.
        Parameters:
        combination - the combination to push
      • push

        void push​(KeyCodeCombination combination)
        Pushes a given key combination.
        Parameters:
        combination - the combination to push
      • type

        void type​(KeyCode... keyCodes)
        Types given keys one after the other.
        Parameters:
        keyCodes - the key codes to type
      • type

        void type​(KeyCode keyCode,
                  int times)
        Types a given key multiple times.
        Parameters:
        keyCode - the key code to type times times
        times - number of times to type the keyCode