Package org.openqa.selenium.htmlunit
Class HtmlUnitInputProcessor.PointerUpHtmlUnitAction
- java.lang.Object
-
- org.openqa.selenium.htmlunit.HtmlUnitInputProcessor.PointerHtmlUnitAction
-
- org.openqa.selenium.htmlunit.HtmlUnitInputProcessor.PointerUpHtmlUnitAction
-
- All Implemented Interfaces:
HtmlUnitInputProcessor.HtmlUnitAction
- Enclosing class:
- HtmlUnitInputProcessor
public static final class HtmlUnitInputProcessor.PointerUpHtmlUnitAction extends HtmlUnitInputProcessor.PointerHtmlUnitAction
A pointer action that releases a specific mouse button. When paired with a preceding matching press event, this may combine to form a click action.
-
-
Constructor Summary
Constructors Constructor Description PointerUpHtmlUnitAction(DomElement domElement, int button)Creates a new pointer-up action for the element and button.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HtmlUnitInputProcessor.HtmlUnitActionjoin(HtmlUnitInputProcessor.HtmlUnitAction previousAction)Combines this action with a previous action, returning a newHtmlUnitInputProcessor.HtmlUnitActionthat represents the joined sequence.voidprocess(HtmlUnitDriver driver)Processes this action using the givenHtmlUnitDriver.-
Methods inherited from class org.openqa.selenium.htmlunit.HtmlUnitInputProcessor.PointerHtmlUnitAction
getButton
-
-
-
-
Constructor Detail
-
PointerUpHtmlUnitAction
public PointerUpHtmlUnitAction(DomElement domElement, int button)
Creates a new pointer-up action for the element and button.- Parameters:
domElement- the element associated with the releasebutton- the button to release
-
-
Method Detail
-
process
public void process(HtmlUnitDriver driver)
Description copied from interface:HtmlUnitInputProcessor.HtmlUnitActionProcesses this action using the givenHtmlUnitDriver.- Parameters:
driver- the driver used to execute the action; must not benull
-
join
public HtmlUnitInputProcessor.HtmlUnitAction join(HtmlUnitInputProcessor.HtmlUnitAction previousAction)
Description copied from interface:HtmlUnitInputProcessor.HtmlUnitActionCombines this action with a previous action, returning a newHtmlUnitInputProcessor.HtmlUnitActionthat represents the joined sequence. This can be used to optimize or merge actions.- Parameters:
previousAction- the action to join with; may benull- Returns:
- a new
HtmlUnitInputProcessor.HtmlUnitActionrepresenting the combined actions
-
-