org.specrunner.webdriver.actions.touch
Class PluginFlickOff

java.lang.Object
  extended by org.specrunner.parameters.core.ParameterHolder
      extended by org.specrunner.plugins.core.AbstractPlugin
          extended by org.specrunner.plugins.core.AbstractPluginNamed
              extended by org.specrunner.plugins.core.AbstractPluginScoped
                  extended by org.specrunner.plugins.core.AbstractPluginValue
                      extended by org.specrunner.webdriver.AbstractPluginBrowserAware
                          extended by org.specrunner.webdriver.AbstractPluginHasTouchScreen
                              extended by org.specrunner.webdriver.actions.touch.AbstractPluginCoordinates
                                  extended by org.specrunner.webdriver.actions.touch.AbstractPluginCoordinatesOff
                                      extended by org.specrunner.webdriver.actions.touch.PluginFlickOff
All Implemented Interfaces:
IParameterHolder, IActionType, IParalelPlugin, IPlugin, ISleepPlugin, ITestPlugin, ITimedPlugin, IWaitPlugin

public class PluginFlickOff
extends AbstractPluginCoordinatesOff

Flick coordinates, xoffset, yoffset and speed.

Author:
Thiago Santos

Field Summary
 
Fields inherited from class org.specrunner.webdriver.AbstractPluginBrowserAware
FEATURE_DIR, FEATURE_INTERVAL, FEATURE_MAXWAIT, FEATURE_TIMEOUT, FEATURE_WAITFOR
 
Fields inherited from class org.specrunner.plugins.core.AbstractPlugin
FEATURE_CONDITION, FEATURE_NORMALIZED, FEATURE_SLEEP, FEATURE_THREADSAFE, FEATURE_WAIT
 
Constructor Summary
PluginFlickOff()
           
 
Method Summary
protected  void doEnd(IContext context, IResultSet result, org.openqa.selenium.WebDriver client, org.openqa.selenium.interactions.TouchScreen touch)
          Perform actions on touch screen devices.
 Integer getSpeed()
          Gets the speed.
 void setSpeed(Integer speed)
          Sets the speed.
 
Methods inherited from class org.specrunner.webdriver.actions.touch.AbstractPluginCoordinatesOff
getActionType, getXoffset, getYoffset, setXoffset, setYoffset
 
Methods inherited from class org.specrunner.webdriver.actions.touch.AbstractPluginCoordinates
getAuxiliary, getCoordinates, getIndom, getInviewport, getOnscreen, getPoint, setAuxiliary, setIndom, setIndom, setInviewport, setInviewport, setOnscreen, setOnscreen
 
Methods inherited from class org.specrunner.webdriver.AbstractPluginHasTouchScreen
doEnd
 
Methods inherited from class org.specrunner.webdriver.AbstractPluginBrowserAware
doEnd, getBrowserName, getDir, getDownload, getInterval, getMaxwait, getWaitCondition, getWaitfor, initialize, isWaitForClient, setDir, setDownload, setInterval, setMaxwait, setWaitfor, waitForClient
 
Methods inherited from class org.specrunner.plugins.core.AbstractPluginValue
getValue, getValue, isEval, setEval, setValue
 
Methods inherited from class org.specrunner.plugins.core.AbstractPluginScoped
getScope, saveGlobal, saveLocal, saveStrict, setScope
 
Methods inherited from class org.specrunner.plugins.core.AbstractPluginNamed
getName, setName
 
Methods inherited from class org.specrunner.plugins.core.AbstractPlugin
copy, doStart, getCondition, getConditionModel, getNormalized, getNormalized, getParent, getSleep, getSleepModel, getThreadsafe, getTimeout, getTimeoutModel, getWait, getWaitModel, setCondition, setConditionModel, setNormalized, setParent, setSleep, setSleepModel, setThreadsafe, setTimeout, setTimeoutModel, setWait, setWaitModel, toString
 
Methods inherited from class org.specrunner.parameters.core.ParameterHolder
getParameters, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.specrunner.parameters.IParameterHolder
getParameters, setParameters
 

Constructor Detail

PluginFlickOff

public PluginFlickOff()
Method Detail

getSpeed

public Integer getSpeed()
Gets the speed.

Returns:
The speed.

setSpeed

public void setSpeed(Integer speed)
Sets the speed.

Parameters:
speed - The speed.

doEnd

protected void doEnd(IContext context,
                     IResultSet result,
                     org.openqa.selenium.WebDriver client,
                     org.openqa.selenium.interactions.TouchScreen touch)
              throws PluginException
Description copied from class: AbstractPluginHasTouchScreen
Perform actions on touch screen devices.

Specified by:
doEnd in class AbstractPluginHasTouchScreen
Parameters:
context - The context.
result - The result.
client - The client.
touch - The touch screen.
Throws:
PluginException - On processing errors.


Copyright © 2013. All rights reserved.