Class SVGOMWheelEvent

All Implemented Interfaces:
OriginalEvent, Cloneable, Event, UIEvent

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

    • wheelDelta

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

    • SVGOMWheelEvent

      public SVGOMWheelEvent()
  • Method Details

    • getWheelDelta

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

      public void initWheelEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, 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(String namespaceURIArg, String typeArg, boolean canBubbleArg, boolean cancelableArg, 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.