Modifier and Type | Field and Description |
---|---|
KeyboardRobot |
keyboardRobot |
SleepRobot |
sleepRobot |
Constructor and Description |
---|
TypeRobotImpl(KeyboardRobot keyboardRobot,
SleepRobot sleepRobot) |
Modifier and Type | Method and Description |
---|---|
void |
push(KeyCode... combination)
Pushes a given key combination.
|
void |
push(KeyCodeCombination combination)
Pushes a given key combination.
|
void |
type(KeyCode... keys)
Types given keys one after the other.
|
void |
type(KeyCode key,
int times)
Types a given key multiple times.
|
public KeyboardRobot keyboardRobot
public SleepRobot sleepRobot
public TypeRobotImpl(KeyboardRobot keyboardRobot, SleepRobot sleepRobot)
public void push(KeyCode... combination)
TypeRobot
public void push(KeyCodeCombination combination)
TypeRobot
public void type(KeyCode... keys)
TypeRobot