- java.lang.Object
-
- org.testfx.robot.impl.TypeRobotImpl
-
-
Constructor Summary
Constructors Constructor Description TypeRobotImpl(KeyboardRobot keyboardRobot, SleepRobot sleepRobot)
-
Method Summary
Modifier and Type Method Description void
push(javafx.scene.input.KeyCode... combination)
Pushes a given key combination.void
push(javafx.scene.input.KeyCodeCombination combination)
Pushes a given key combination.void
type(javafx.scene.input.KeyCode... keys)
Types given keys one after the other.void
type(javafx.scene.input.KeyCode key, int times)
Types a given key multiple times.
-
-
-
Constructor Detail
-
TypeRobotImpl
public TypeRobotImpl(KeyboardRobot keyboardRobot, SleepRobot sleepRobot)
-
-
Method Detail
-
push
public void push(javafx.scene.input.KeyCode... combination)
Description copied from interface:TypeRobot
Pushes a given key combination.
-
push
public void push(javafx.scene.input.KeyCodeCombination combination)
Description copied from interface:TypeRobot
Pushes a given key combination.
-
type
public void type(javafx.scene.input.KeyCode... keys)
Description copied from interface:TypeRobot
Types given keys one after the other.
-
-