Constructor and Description |
---|
TextAction(java.lang.String text)
Defaults timeoutMillis to 100.
|
TextAction(java.lang.String text,
long timeoutMillis,
boolean checkFocused) |
Modifier and Type | Method and Description |
---|---|
boolean |
perform(InputInjector injector,
UiElement element)
Performs the action by injecting synthesized events.
|
java.lang.String |
toString() |
maybeCheckFocused
perform
getTimeoutMillis
public TextAction(java.lang.String text)
public TextAction(java.lang.String text, long timeoutMillis, boolean checkFocused)
public boolean perform(InputInjector injector, UiElement element)
EventAction
perform
in class EventAction
injector
- the injector to inject InputEvent
selement
- the UiElement to perform the action on