Interface TouchScreen

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void doubleTap​(Coordinates where)
      Deprecated.
      Allows the execution of double tap on the screen, analogous to double click using a Mouse.
      void down​(int x, int y)
      Deprecated.
      Allows the execution of the gesture 'down' on the screen.
      void flick​(int xSpeed, int ySpeed)
      Deprecated.
      Sends a flick gesture to the current view.
      void flick​(Coordinates where, int xOffset, int yOffset, int speed)
      Deprecated.
      Allows the execution of flick gestures starting in a location's element.
      void longPress​(Coordinates where)
      Deprecated.
      Allows the execution of long press gestures.
      void move​(int x, int y)
      Deprecated.
      Allows the execution of the gesture 'move' on the screen.
      void scroll​(int xOffset, int yOffset)
      Deprecated.
      Allows the view to be scrolled by an x and y offset.
      void scroll​(Coordinates where, int xOffset, int yOffset)
      Deprecated.
      Creates a scroll gesture that starts on a particular screen location.
      void singleTap​(Coordinates where)
      Deprecated.
      Allows the execution of single tap on the screen, analogous to click using a Mouse.
      void up​(int x, int y)
      Deprecated.
      Allows the execution of the gesture 'up' on the screen.
    • Method Detail

      • singleTap

        void singleTap​(Coordinates where)
        Deprecated.
        Allows the execution of single tap on the screen, analogous to click using a Mouse.
        Parameters:
        where - The location on the screen. Typically a WebElement
      • down

        void down​(int x,
                  int y)
        Deprecated.
        Allows the execution of the gesture 'down' on the screen. It is typically the first of a sequence of touch gestures.
        Parameters:
        x - The x coordinate relative to the viewport
        y - The y coordinate relative to the viewport
      • up

        void up​(int x,
                int y)
        Deprecated.
        Allows the execution of the gesture 'up' on the screen. It is typically the last of a sequence of touch gestures.
        Parameters:
        x - The x coordinate relative to the viewport
        y - The y coordinate relative to the viewport
      • move

        void move​(int x,
                  int y)
        Deprecated.
        Allows the execution of the gesture 'move' on the screen.
        Parameters:
        x - The x coordinate relative to the viewport
        y - The y coordinate relative to the viewport
      • scroll

        void scroll​(Coordinates where,
                    int xOffset,
                    int yOffset)
        Deprecated.
        Creates a scroll gesture that starts on a particular screen location.
        Parameters:
        where - the location where the scroll starts, usually a WebElement.
        xOffset - The x offset to scroll
        yOffset - The y offset to scroll
      • doubleTap

        void doubleTap​(Coordinates where)
        Deprecated.
        Allows the execution of double tap on the screen, analogous to double click using a Mouse.
        Parameters:
        where - The coordinates of the element to double tap
      • longPress

        void longPress​(Coordinates where)
        Deprecated.
        Allows the execution of long press gestures.
        Parameters:
        where - The coordinate of the element to long press
      • scroll

        void scroll​(int xOffset,
                    int yOffset)
        Deprecated.
        Allows the view to be scrolled by an x and y offset.
        Parameters:
        xOffset - The horizontal offset relative to the viewport
        yOffset - The vertical offset relative to the viewport
      • flick

        void flick​(int xSpeed,
                   int ySpeed)
        Deprecated.
        Sends a flick gesture to the current view.
        Parameters:
        xSpeed - The horizontal speed in pixels/second
        ySpeed - The vertical speed in pixels/second
      • flick

        void flick​(Coordinates where,
                   int xOffset,
                   int yOffset,
                   int speed)
        Deprecated.
        Allows the execution of flick gestures starting in a location's element.
        Parameters:
        where - The coordinate of the element to flick on
        xOffset - The x offset relative to the viewport
        yOffset - The y offset relative to the viewport
        speed - speed in pixels/second