Class SVGOMWheelEvent

  • All Implemented Interfaces:
    java.lang.Cloneable, OriginalEvent, org.w3c.dom.events.Event, org.w3c.dom.events.UIEvent

    public class SVGOMWheelEvent
    extends DOMUIEvent
    SVG 1.2 mouse wheel event.
    • Field Detail

      • wheelDelta

        protected int wheelDelta
        The number of clicks the mouse wheel has been moved.
    • Constructor Detail

      • SVGOMWheelEvent

        public SVGOMWheelEvent()
    • Method Detail

      • getWheelDelta

        public int getWheelDelta()
        Returns the number of mouse wheel clicks.
      • initWheelEvent

        public void initWheelEvent​(java.lang.String typeArg,
                                   boolean canBubbleArg,
                                   boolean cancelableArg,
                                   org.w3c.dom.views.AbstractView viewArg,
                                   int wheelDeltaArg)
        Initializes this SVGOMWheelEvent object.
        Parameters:
        typeArg - Specifies the event type.
        canBubbleArg - Specifies whether or not the event can bubble.
        cancelableArg - Specifies whether or not the event's default action can be prevented.
        viewArg - Specifies the Event's AbstractView.
        wheelDeltaArg - Specifices the number of clicks the mouse wheel has been moved.
      • initWheelEventNS

        public void initWheelEventNS​(java.lang.String namespaceURIArg,
                                     java.lang.String typeArg,
                                     boolean canBubbleArg,
                                     boolean cancelableArg,
                                     org.w3c.dom.views.AbstractView viewArg,
                                     int wheelDeltaArg)
        Initializes this KeyboardEvent object.
        Parameters:
        namespaceURIArg - Specifies the event namespace URI.
        typeArg - Specifies the event type.
        canBubbleArg - Specifies whether or not the event can bubble.
        cancelableArg - Specifies whether or not the event's default action can be prevented.
        viewArg - Specifies the Event's AbstractView.
        wheelDeltaArg - Specifices the number of clicks the mouse wheel has been moved.