Package org.testfx.robot
Interface TypeRobot
-
- All Known Implementing Classes:
TypeRobotImpl
public interface TypeRobot
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpush(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 Detail
-
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
-
-