public class WriteRobotImpl extends java.lang.Object implements WriteRobot
| Constructor and Description |
|---|
WriteRobotImpl(BaseRobot baseRobot,
SleepRobot sleepRobot,
WindowFinder windowFinder) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(char character)
Writes a given text character.
|
void |
write(java.lang.String text)
Writes the given text characters one after the other.
|
void |
write(java.lang.String text,
int sleepMillis)
Writes the given text characters one after the other, sleeping for
sleepMillis milliseconds after each typed character. |
public WriteRobotImpl(BaseRobot baseRobot, SleepRobot sleepRobot, WindowFinder windowFinder)
public void write(char character)
WriteRobotwrite in interface WriteRobotcharacter - the text character to writepublic void write(java.lang.String text)
WriteRobotwrite in interface WriteRobottext - the text characters to writepublic void write(java.lang.String text,
int sleepMillis)
WriteRobotsleepMillis milliseconds after each typed character.write in interface WriteRobottext - the text characters to writesleepMillis - the milliseconds to sleep for after each
character