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

public abstract static class HtmlUnitInputProcessor.PointerHtmlUnitAction extends Object
Base class for pointer actions that operate on a specific button. Subclasses represent concrete pointer events such as press or release.
  • Constructor Details

    • PointerHtmlUnitAction

      public PointerHtmlUnitAction(DomElement domElement, int button)
      Creates a new pointer action for the specified element and button.
      Parameters:
      domElement - the target element associated with the pointer event
      button - 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

      protected DomElement getDomElement()