Package org.openqa.selenium.htmlunit
Class HtmlUnitInputProcessor.PointerHtmlUnitAction
java.lang.Object
org.openqa.selenium.htmlunit.HtmlUnitInputProcessor.PointerHtmlUnitAction
- All Implemented Interfaces:
HtmlUnitInputProcessor.HtmlUnitAction
- Direct Known Subclasses:
HtmlUnitInputProcessor.PointerDownHtmlUnitAction,HtmlUnitInputProcessor.PointerUpHtmlUnitAction
- Enclosing class:
- HtmlUnitInputProcessor
Base class for pointer actions that operate on a specific button.
Subclasses represent concrete pointer events such as press or release.
-
Constructor Summary
ConstructorsConstructorDescriptionPointerHtmlUnitAction(DomElement domElement, int button) Creates a new pointer action for the specified element and button. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the mouse button associated with this action.protected DomElementMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openqa.selenium.htmlunit.HtmlUnitInputProcessor.HtmlUnitAction
join, process
-
Constructor Details
-
PointerHtmlUnitAction
Creates a new pointer action for the specified element and button.- Parameters:
domElement- the target element associated with the pointer eventbutton- the mouse button involved in the action
-
-
Method Details
-
getButton
public int getButton()Returns the mouse button associated with this action.- Returns:
- the button value
-
getDomElement
-