org.openqa.selenium.interactions.touch
Class FlickAction

java.lang.Object
  extended by org.openqa.selenium.interactions.internal.BaseAction
      extended by org.openqa.selenium.interactions.internal.DisplayAction
          extended by org.openqa.selenium.interactions.internal.TouchAction
              extended by org.openqa.selenium.interactions.touch.FlickAction
All Implemented Interfaces:
Action

public class FlickAction
extends TouchAction
implements Action

Creates a flick gesture.


Field Summary
static int SPEED_FAST
           
static int SPEED_NORMAL
           
 
Fields inherited from class org.openqa.selenium.interactions.internal.TouchAction
touchScreen
 
Fields inherited from class org.openqa.selenium.interactions.internal.BaseAction
where
 
Constructor Summary
FlickAction(TouchScreen touchScreen, int xSpeed, int ySpeed)
           
FlickAction(TouchScreen touchScreen, Locatable locationProvider, int x, int y, int speed)
           
 
Method Summary
 void perform()
           
 
Methods inherited from class org.openqa.selenium.interactions.internal.DisplayAction
getActionLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPEED_NORMAL

public static final int SPEED_NORMAL
See Also:
Constant Field Values

SPEED_FAST

public static final int SPEED_FAST
See Also:
Constant Field Values
Constructor Detail

FlickAction

public FlickAction(TouchScreen touchScreen,
                   Locatable locationProvider,
                   int x,
                   int y,
                   int speed)

FlickAction

public FlickAction(TouchScreen touchScreen,
                   int xSpeed,
                   int ySpeed)
Method Detail

perform

public void perform()
Specified by:
perform in interface Action


Copyright © 2012. All Rights Reserved.