Class EventFiringTouch
- java.lang.Object
-
- org.openqa.selenium.support.events.internal.EventFiringTouch
-
- All Implemented Interfaces:
org.openqa.selenium.interactions.TouchScreen
public class EventFiringTouch extends java.lang.Object implements org.openqa.selenium.interactions.TouchScreen
A touch screen that fires events.
-
-
Constructor Summary
Constructors Constructor Description EventFiringTouch(org.openqa.selenium.WebDriver driver, WebDriverEventListener dispatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doubleTap(org.openqa.selenium.interactions.Coordinates where)
void
down(int x, int y)
void
flick(int xSpeed, int ySpeed)
void
flick(org.openqa.selenium.interactions.Coordinates where, int xOffset, int yOffset, int speed)
void
longPress(org.openqa.selenium.interactions.Coordinates where)
void
move(int x, int y)
void
scroll(int xOffset, int yOffset)
void
scroll(org.openqa.selenium.interactions.Coordinates where, int xOffset, int yOffset)
void
singleTap(org.openqa.selenium.interactions.Coordinates where)
void
up(int x, int y)
-
-
-
Constructor Detail
-
EventFiringTouch
public EventFiringTouch(org.openqa.selenium.WebDriver driver, WebDriverEventListener dispatcher)
-
-
Method Detail
-
singleTap
public void singleTap(org.openqa.selenium.interactions.Coordinates where)
- Specified by:
singleTap
in interfaceorg.openqa.selenium.interactions.TouchScreen
-
down
public void down(int x, int y)
- Specified by:
down
in interfaceorg.openqa.selenium.interactions.TouchScreen
-
up
public void up(int x, int y)
- Specified by:
up
in interfaceorg.openqa.selenium.interactions.TouchScreen
-
move
public void move(int x, int y)
- Specified by:
move
in interfaceorg.openqa.selenium.interactions.TouchScreen
-
scroll
public void scroll(org.openqa.selenium.interactions.Coordinates where, int xOffset, int yOffset)
- Specified by:
scroll
in interfaceorg.openqa.selenium.interactions.TouchScreen
-
doubleTap
public void doubleTap(org.openqa.selenium.interactions.Coordinates where)
- Specified by:
doubleTap
in interfaceorg.openqa.selenium.interactions.TouchScreen
-
longPress
public void longPress(org.openqa.selenium.interactions.Coordinates where)
- Specified by:
longPress
in interfaceorg.openqa.selenium.interactions.TouchScreen
-
scroll
public void scroll(int xOffset, int yOffset)
- Specified by:
scroll
in interfaceorg.openqa.selenium.interactions.TouchScreen
-
flick
public void flick(int xSpeed, int ySpeed)
- Specified by:
flick
in interfaceorg.openqa.selenium.interactions.TouchScreen
-
flick
public void flick(org.openqa.selenium.interactions.Coordinates where, int xOffset, int yOffset, int speed)
- Specified by:
flick
in interfaceorg.openqa.selenium.interactions.TouchScreen
-
-