public class EventUiElementActor extends java.lang.Object implements UiElementActor
UiElementActor that performs actions by injecting synthesized
events.| Modifier and Type | Field and Description |
|---|---|
static EventUiElementActor |
INSTANCE |
| Constructor and Description |
|---|
EventUiElementActor() |
| Modifier and Type | Method and Description |
|---|---|
void |
click(UiElement uiElement)
Clicks this element.
|
void |
doubleClick(UiElement uiElement)
Double-clicks this element.
|
void |
longClick(UiElement uiElement)
Long-clicks this element.
|
void |
scroll(UiElement uiElement,
Direction.PhysicalDirection direction)
Scrolls in the given direction.
|
public static final EventUiElementActor INSTANCE
public void click(UiElement uiElement)
UiElementActorclick in interface UiElementActorpublic void longClick(UiElement uiElement)
UiElementActorlongClick in interface UiElementActorpublic void doubleClick(UiElement uiElement)
UiElementActordoubleClick in interface UiElementActorpublic void scroll(UiElement uiElement, Direction.PhysicalDirection direction)
UiElementActorscroll in interface UiElementActordirection - specifies where the view port will move, instead of the
finger.