package body MSHTML.DispDOMWheelEvent_Object is

   function Get_bubbles
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_bubbles);
   end Get_bubbles;

   function Get_cancelable
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_cancelable);
   end Get_cancelable;

   function Get_currentTarget
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_currentTarget);
   end Get_currentTarget;

   function Get_defaultPrevented
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_defaultPrevented);
   end Get_defaultPrevented;

   function Get_eventPhase
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_eventPhase);
   end Get_eventPhase;

   function Get_target
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_target);
   end Get_target;

   function Get_timeStamp
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_timeStamp);
   end Get_timeStamp;

   function Get_type
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_type);
   end Get_type;

   procedure initEvent
     (This       : DispDOMWheelEvent_Type;
      eventType  : GNATCOM.Types.VARIANT;
      canBubble  : GNATCOM.Types.VARIANT;
      cancelable : GNATCOM.Types.VARIANT;
      Free       : Boolean := True)
   is
   begin
      Invoke
        (This,
         DispDOMWheelEvent_initEvent,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => cancelable,
          2 => canBubble,
          3 => eventType),
         Free);
   end initEvent;

   procedure preventDefault
     (This : DispDOMWheelEvent_Type)
   is
   begin
      Invoke (This, DispDOMWheelEvent_preventDefault);
   end preventDefault;

   procedure stopPropagation
     (This : DispDOMWheelEvent_Type)
   is
   begin
      Invoke (This, DispDOMWheelEvent_stopPropagation);
   end stopPropagation;

   procedure stopImmediatePropagation
     (This : DispDOMWheelEvent_Type)
   is
   begin
      Invoke (This, DispDOMWheelEvent_stopImmediatePropagation);
   end stopImmediatePropagation;

   function Get_isTrusted
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_isTrusted);
   end Get_isTrusted;

   procedure Put_cancelBubble
     (This : DispDOMWheelEvent_Type;
      P1   : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      Put
        (This,
         DispDOMWheelEvent_Put_cancelBubble,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => P1),
         Free);
   end Put_cancelBubble;

   function Get_cancelBubble
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_cancelBubble);
   end Get_cancelBubble;

   function Get_srcElement
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_srcElement);
   end Get_srcElement;

   function Get_view
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_view);
   end Get_view;

   function Get_detail
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_detail);
   end Get_detail;

   procedure initUIEvent
     (This       : DispDOMWheelEvent_Type;
      eventType  : GNATCOM.Types.VARIANT;
      canBubble  : GNATCOM.Types.VARIANT;
      cancelable : GNATCOM.Types.VARIANT;
      view       : GNATCOM.Types.VARIANT;
      detail     : GNATCOM.Types.VARIANT;
      Free       : Boolean := True)
   is
   begin
      Invoke
        (This,
         DispDOMWheelEvent_initUIEvent,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => detail,
          2 => view,
          3 => cancelable,
          4 => canBubble,
          5 => eventType),
         Free);
   end initUIEvent;

   function Get_screenX
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_screenX);
   end Get_screenX;

   function Get_screenY
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_screenY);
   end Get_screenY;

   function Get_clientX
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_clientX);
   end Get_clientX;

   function Get_clientY
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_clientY);
   end Get_clientY;

   function Get_ctrlKey
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_ctrlKey);
   end Get_ctrlKey;

   function Get_shiftKey
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_shiftKey);
   end Get_shiftKey;

   function Get_altKey
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_altKey);
   end Get_altKey;

   function Get_metaKey
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_metaKey);
   end Get_metaKey;

   function Get_button
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_button);
   end Get_button;

   function Get_relatedTarget
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_relatedTarget);
   end Get_relatedTarget;

   procedure initMouseEvent
     (This             : DispDOMWheelEvent_Type;
      eventType        : GNATCOM.Types.VARIANT;
      canBubble        : GNATCOM.Types.VARIANT;
      cancelable       : GNATCOM.Types.VARIANT;
      viewArg          : GNATCOM.Types.VARIANT;
      detailArg        : GNATCOM.Types.VARIANT;
      screenXArg       : GNATCOM.Types.VARIANT;
      screenYArg       : GNATCOM.Types.VARIANT;
      clientXArg       : GNATCOM.Types.VARIANT;
      clientYArg       : GNATCOM.Types.VARIANT;
      ctrlKeyArg       : GNATCOM.Types.VARIANT;
      altKeyArg        : GNATCOM.Types.VARIANT;
      shiftKeyArg      : GNATCOM.Types.VARIANT;
      metaKeyArg       : GNATCOM.Types.VARIANT;
      buttonArg        : GNATCOM.Types.VARIANT;
      relatedTargetArg : GNATCOM.Types.VARIANT;
      Free             : Boolean := True)
   is
   begin
      Invoke
        (This,
         DispDOMWheelEvent_initMouseEvent,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => relatedTargetArg,
          2 => buttonArg,
          3 => metaKeyArg,
          4 => shiftKeyArg,
          5 => altKeyArg,
          6 => ctrlKeyArg,
          7 => clientYArg,
          8 => clientXArg,
          9 => screenYArg,
          10 => screenXArg,
          11 => detailArg,
          12 => viewArg,
          13 => cancelable,
          14 => canBubble,
          15 => eventType),
         Free);
   end initMouseEvent;

   function getModifierState
     (This   : DispDOMWheelEvent_Type;
      keyArg : GNATCOM.Types.VARIANT;
      Free   : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         DispDOMWheelEvent_getModifierState,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => keyArg),
         Free);
   end getModifierState;

   function Get_buttons
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_buttons);
   end Get_buttons;

   function Get_fromElement
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_fromElement);
   end Get_fromElement;

   function Get_toElement
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_toElement);
   end Get_toElement;

   function Get_x
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_x);
   end Get_x;

   function Get_y
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_y);
   end Get_y;

   function Get_offsetX
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_offsetX);
   end Get_offsetX;

   function Get_offsetY
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_offsetY);
   end Get_offsetY;

   function Get_pageX
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_pageX);
   end Get_pageX;

   function Get_pageY
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_pageY);
   end Get_pageY;

   function Get_layerX
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_layerX);
   end Get_layerX;

   function Get_layerY
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_layerY);
   end Get_layerY;

   function Get_which
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_which);
   end Get_which;

   function Get_deltaX
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_deltaX);
   end Get_deltaX;

   function Get_deltaY
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_deltaY);
   end Get_deltaY;

   function Get_deltaZ
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_deltaZ);
   end Get_deltaZ;

   function Get_deltaMode
     (This : DispDOMWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMWheelEvent_Get_deltaMode);
   end Get_deltaMode;

   procedure initWheelEvent
     (This             : DispDOMWheelEvent_Type;
      eventType        : GNATCOM.Types.VARIANT;
      canBubble        : GNATCOM.Types.VARIANT;
      cancelable       : GNATCOM.Types.VARIANT;
      viewArg          : GNATCOM.Types.VARIANT;
      detailArg        : GNATCOM.Types.VARIANT;
      screenXArg       : GNATCOM.Types.VARIANT;
      screenYArg       : GNATCOM.Types.VARIANT;
      clientXArg       : GNATCOM.Types.VARIANT;
      clientYArg       : GNATCOM.Types.VARIANT;
      buttonArg        : GNATCOM.Types.VARIANT;
      relatedTargetArg : GNATCOM.Types.VARIANT;
      modifiersListArg : GNATCOM.Types.VARIANT;
      deltaX           : GNATCOM.Types.VARIANT;
      deltaY           : GNATCOM.Types.VARIANT;
      deltaZ           : GNATCOM.Types.VARIANT;
      deltaMode        : GNATCOM.Types.VARIANT;
      Free             : Boolean := True)
   is
   begin
      Invoke
        (This,
         DispDOMWheelEvent_initWheelEvent,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => deltaMode,
          2 => deltaZ,
          3 => deltaY,
          4 => deltaX,
          5 => modifiersListArg,
          6 => relatedTargetArg,
          7 => buttonArg,
          8 => clientYArg,
          9 => clientXArg,
          10 => screenYArg,
          11 => screenXArg,
          12 => detailArg,
          13 => viewArg,
          14 => cancelable,
          15 => canBubble,
          16 => eventType),
         Free);
   end initWheelEvent;

end MSHTML.DispDOMWheelEvent_Object;

