Package org.testfx.robot
Interface TypeRobot
- All Known Implementing Classes:
TypeRobotImpl
public interface TypeRobot
-
Method Summary
Modifier and TypeMethodDescriptionvoidpush(javafx.scene.input.KeyCode... combination) Pushes a given key combination.voidpush(javafx.scene.input.KeyCodeCombination combination) Pushes a given key combination.voidtype(javafx.scene.input.KeyCode... keyCodes) Types given keys one after the other.voidtype(javafx.scene.input.KeyCode keyCode, int times) Types a given key multiple times.
-
Method Details
-
push
void push(javafx.scene.input.KeyCode... combination) Pushes a given key combination.- Parameters:
combination- the combination to push
-
push
void push(javafx.scene.input.KeyCodeCombination combination) Pushes a given key combination.- Parameters:
combination- the combination to push
-
type
void type(javafx.scene.input.KeyCode... keyCodes) Types given keys one after the other.- Parameters:
keyCodes- the key codes to type
-
type
void type(javafx.scene.input.KeyCode keyCode, int times) Types a given key multiple times.- Parameters:
keyCode- the key code to typetimestimestimes- number of times to type thekeyCode
-