JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit.javascript.host.event

Class PointerEvent

    • Constructor Detail

      • PointerEvent

        public PointerEvent()
        Default constructor.
      • PointerEvent

        public PointerEvent(DomNode domNode,
         String type,
         boolean shiftKey,
         boolean ctrlKey,
         boolean altKey,
         int button,
         int detail)
        Creates a new event instance.
        Parameters:
        domNode - the DOM node that triggered the event
        type - the event type
        shiftKey - true if SHIFT is pressed
        ctrlKey - true if CTRL is pressed
        altKey - true if ALT is pressed
        detail - the detail value
        button - the button code, must be MouseEvent.BUTTON_LEFT, MouseEvent.BUTTON_MIDDLE or MouseEvent.BUTTON_RIGHT
    • Method Detail

      • getPointerId

        public long getPointerId()
        Returns:
        the pointerId
      • getWidth

        public long getWidth()
        Returns:
        the width
      • getHeight

        public long getHeight()
        Returns:
        the height
      • getPressure

        public double getPressure()
        Returns:
        the pressure
      • getTiltX

        public long getTiltX()
        Returns:
        the tiltX
      • getTiltY

        public long getTiltY()
        Returns:
        the tiltY
      • getPointerType

        public String getPointerType()
        Returns:
        the pointerType
      • isPrimary_js

        public boolean isPrimary_js()
        Returns:
        the isPrimary
      • getAltitudeAngle

        public double getAltitudeAngle()
        Returns:
        the pointerType
      • getAzimuthAngle

        public double getAzimuthAngle()
        Returns:
        the pointerType
      • getPersistentDeviceId

        public double getPersistentDeviceId()
        Returns:
        the persistentDeviceId
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /