Class 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.
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 interface org.openqa.selenium.interactions.TouchScreen
      • down

        public void down​(int x,
                         int y)
        Specified by:
        down in interface org.openqa.selenium.interactions.TouchScreen
      • up

        public void up​(int x,
                       int y)
        Specified by:
        up in interface org.openqa.selenium.interactions.TouchScreen
      • move

        public void move​(int x,
                         int y)
        Specified by:
        move in interface org.openqa.selenium.interactions.TouchScreen
      • scroll

        public void scroll​(org.openqa.selenium.interactions.Coordinates where,
                           int xOffset,
                           int yOffset)
        Specified by:
        scroll in interface org.openqa.selenium.interactions.TouchScreen
      • doubleTap

        public void doubleTap​(org.openqa.selenium.interactions.Coordinates where)
        Specified by:
        doubleTap in interface org.openqa.selenium.interactions.TouchScreen
      • longPress

        public void longPress​(org.openqa.selenium.interactions.Coordinates where)
        Specified by:
        longPress in interface org.openqa.selenium.interactions.TouchScreen
      • scroll

        public void scroll​(int xOffset,
                           int yOffset)
        Specified by:
        scroll in interface org.openqa.selenium.interactions.TouchScreen
      • flick

        public void flick​(int xSpeed,
                          int ySpeed)
        Specified by:
        flick in interface org.openqa.selenium.interactions.TouchScreen
      • flick

        public void flick​(org.openqa.selenium.interactions.Coordinates where,
                          int xOffset,
                          int yOffset,
                          int speed)
        Specified by:
        flick in interface org.openqa.selenium.interactions.TouchScreen