java.lang.Object
is.codion.plugin.swing.robot.Narrator

public final class Narrator extends Object
An automation narrator to use alongside Controller.
  • Method Details

    • narrate

      public void narrate(String text)
      Parameters:
      text - the narration text to display
    • clearNarration

      public void clearNarration()
      Clears the narration text.
    • clearKeyStrokes

      public void clearKeyStrokes()
      Clears the keystrokes table.
    • clear

      public void clear()
      Clears both narration and keystrokes
    • narrator

      public static Narrator narrator(Controller controller, Window window)
      Parameters:
      controller - the controller to narrate
      window - the window to attach to
      Returns:
      a new Narrator
    • close

      public void close()
      Clears this narrator and closes its frame