- java.lang.Object
-
- org.testfx.robot.impl.WriteRobotImpl
-
- All Implemented Interfaces:
WriteRobot
public class WriteRobotImpl extends Object implements WriteRobot
-
-
Constructor Summary
Constructors Constructor Description WriteRobotImpl(BaseRobot baseRobot, SleepRobot sleepRobot, WindowFinder windowFinder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(char character)Writes a given text character.voidwrite(String text)Writes the given text characters one after the other.voidwrite(String text, int sleepMillis)Writes the given text characters one after the other, sleeping forsleepMillismilliseconds after each typed character.
-
-
-
Constructor Detail
-
WriteRobotImpl
public WriteRobotImpl(BaseRobot baseRobot, SleepRobot sleepRobot, WindowFinder windowFinder)
-
-
Method Detail
-
write
public void write(char character)
Description copied from interface:WriteRobotWrites a given text character.- Specified by:
writein interfaceWriteRobot- Parameters:
character- the text character to write
-
write
public void write(String text)
Description copied from interface:WriteRobotWrites the given text characters one after the other.- Specified by:
writein interfaceWriteRobot- Parameters:
text- the text characters to write
-
write
public void write(String text, int sleepMillis)
Description copied from interface:WriteRobotWrites the given text characters one after the other, sleeping forsleepMillismilliseconds after each typed character.- Specified by:
writein interfaceWriteRobot- Parameters:
text- the text characters to writesleepMillis- the milliseconds to sleep for after each character
-
-