org.specrunner.webdriver.actions.input.mouse
Class PluginMouseMoveCoordinates
java.lang.Object
org.specrunner.parameters.core.ParameterHolder
org.specrunner.plugins.core.AbstractPlugin
org.specrunner.plugins.core.AbstractPluginNamed
org.specrunner.plugins.core.AbstractPluginScoped
org.specrunner.plugins.core.AbstractPluginValue
org.specrunner.webdriver.AbstractPluginBrowserAware
org.specrunner.webdriver.AbstractPluginHasInputDevices
org.specrunner.webdriver.AbstractPluginMouse
org.specrunner.webdriver.actions.input.mouse.AbstractPluginCoordinates
org.specrunner.webdriver.actions.input.mouse.PluginMouseMoveCoordinates
- All Implemented Interfaces:
- IParameterHolder, IActionType, IParalelPlugin, IPlugin, ISleepPlugin, ITestPlugin, ITimedPlugin, IWaitPlugin
public class PluginMouseMoveCoordinates
- extends AbstractPluginCoordinates
Mouse move action (by coordinates).
- Author:
- Thiago Santos
|
Method Summary |
protected void |
doEnd(IContext context,
IResultSet result,
org.openqa.selenium.WebDriver client,
org.openqa.selenium.interactions.HasInputDevices input,
org.openqa.selenium.interactions.Mouse mouse)
Perform actions on a mouse enabled device. |
Integer |
getXoffset()
Gets the x offset value. |
Integer |
getYoffset()
Gets the y offset method. |
void |
setXoffset(Integer xoffset)
Sets the x offset value. |
void |
setYoffset(Integer yoffset)
Sets the y offset. |
| Methods inherited from class org.specrunner.webdriver.actions.input.mouse.AbstractPluginCoordinates |
getActionType, getAuxiliary, getCoordinates, getIndom, getInviewport, getOnscreen, getPoint, setAuxiliary, setIndom, setIndom, setInviewport, setInviewport, setOnscreen, setOnscreen |
| 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.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 |
PluginMouseMoveCoordinates
public PluginMouseMoveCoordinates()
getXoffset
public Integer getXoffset()
- Gets the x offset value.
- Returns:
- The x offset.
setXoffset
public void setXoffset(Integer xoffset)
- Sets the x offset value.
- Parameters:
xoffset - The offset.
getYoffset
public Integer getYoffset()
- Gets the y offset method.
- Returns:
- The y offset.
setYoffset
public void setYoffset(Integer yoffset)
- Sets the y offset.
- Parameters:
yoffset - The y offset.
doEnd
protected void doEnd(IContext context,
IResultSet result,
org.openqa.selenium.WebDriver client,
org.openqa.selenium.interactions.HasInputDevices input,
org.openqa.selenium.interactions.Mouse mouse)
throws PluginException
- Description copied from class:
AbstractPluginMouse
- Perform actions on a mouse enabled device.
- Specified by:
doEnd in class AbstractPluginMouse
- Parameters:
context - The context.result - The result.client - The client.input - The device.mouse - The mouse action.
- Throws:
PluginException - On processing errors.
Copyright © 2013. All rights reserved.