Module org.testfx

Interface WriteRobot

  • All Known Implementing Classes:
    WriteRobotImpl

    public interface WriteRobot
    • Method Summary

      Modifier and Type Method Description
      void write​(char character)
      Writes a given text character.
      void write​(String text)
      Writes the given text characters one after the other.
      void write​(String text, int sleepMillis)
      Writes the given text characters one after the other, sleeping for sleepMillis milliseconds after each typed character.
    • Method Detail

      • write

        void write​(char character)
        Writes a given text character.
        Parameters:
        character - the text character to write
      • write

        void write​(String text)
        Writes the given text characters one after the other.
        Parameters:
        text - the text characters to write
      • write

        void write​(String text,
                   int sleepMillis)
        Writes the given text characters one after the other, sleeping for sleepMillis milliseconds after each typed character.
        Parameters:
        text - the text characters to write
        sleepMillis - the milliseconds to sleep for after each character