package body MSHTML.DispDOMMouseWheelEvent_Object is

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

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

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

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

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

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

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

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

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

   procedure preventDefault
     (This : DispDOMMouseWheelEvent_Type)
   is
   begin
      Invoke (This, DispDOMMouseWheelEvent_preventDefault);
   end preventDefault;

   procedure stopPropagation
     (This : DispDOMMouseWheelEvent_Type)
   is
   begin
      Invoke (This, DispDOMMouseWheelEvent_stopPropagation);
   end stopPropagation;

   procedure stopImmediatePropagation
     (This : DispDOMMouseWheelEvent_Type)
   is
   begin
      Invoke (This, DispDOMMouseWheelEvent_stopImmediatePropagation);
   end stopImmediatePropagation;

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

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

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

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

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

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

   procedure initUIEvent
     (This       : DispDOMMouseWheelEvent_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,
         DispDOMMouseWheelEvent_initUIEvent,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => detail,
          2 => view,
          3 => cancelable,
          4 => canBubble,
          5 => eventType),
         Free);
   end initUIEvent;

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

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

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

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

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

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

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

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

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

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

   procedure initMouseEvent
     (This             : DispDOMMouseWheelEvent_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,
         DispDOMMouseWheelEvent_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   : DispDOMMouseWheelEvent_Type;
      keyArg : GNATCOM.Types.VARIANT;
      Free   : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         DispDOMMouseWheelEvent_getModifierState,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => keyArg),
         Free);
   end getModifierState;

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

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

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

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

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

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

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

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

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

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

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

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

   function Get_wheelDelta
     (This : DispDOMMouseWheelEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMouseWheelEvent_Get_wheelDelta);
   end Get_wheelDelta;

   procedure initMouseWheelEvent
     (This             : DispDOMMouseWheelEvent_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;
      wheelDeltaArg    : GNATCOM.Types.VARIANT;
      Free             : Boolean := True)
   is
   begin
      Invoke
        (This,
         DispDOMMouseWheelEvent_initMouseWheelEvent,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => wheelDeltaArg,
          2 => modifiersListArg,
          3 => relatedTargetArg,
          4 => buttonArg,
          5 => clientYArg,
          6 => clientXArg,
          7 => screenYArg,
          8 => screenXArg,
          9 => detailArg,
          10 => viewArg,
          11 => cancelable,
          12 => canBubble,
          13 => eventType),
         Free);
   end initMouseWheelEvent;

end MSHTML.DispDOMMouseWheelEvent_Object;

