package body MSHTML.DispDOMTextEvent_Object is

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

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

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

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

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

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

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

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

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

   procedure preventDefault
     (This : DispDOMTextEvent_Type)
   is
   begin
      Invoke (This, DispDOMTextEvent_preventDefault);
   end preventDefault;

   procedure stopPropagation
     (This : DispDOMTextEvent_Type)
   is
   begin
      Invoke (This, DispDOMTextEvent_stopPropagation);
   end stopPropagation;

   procedure stopImmediatePropagation
     (This : DispDOMTextEvent_Type)
   is
   begin
      Invoke (This, DispDOMTextEvent_stopImmediatePropagation);
   end stopImmediatePropagation;

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

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

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

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

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

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

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

   function Get_data
     (This : DispDOMTextEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMTextEvent_Get_data);
   end Get_data;

   function Get_inputMethod
     (This : DispDOMTextEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMTextEvent_Get_inputMethod);
   end Get_inputMethod;

   procedure initTextEvent
     (This        : DispDOMTextEvent_Type;
      eventType   : GNATCOM.Types.VARIANT;
      canBubble   : GNATCOM.Types.VARIANT;
      cancelable  : GNATCOM.Types.VARIANT;
      viewArg     : GNATCOM.Types.VARIANT;
      dataArg     : GNATCOM.Types.VARIANT;
      inputMethod : GNATCOM.Types.VARIANT;
      locale      : GNATCOM.Types.VARIANT;
      Free        : Boolean := True)
   is
   begin
      Invoke
        (This,
         DispDOMTextEvent_initTextEvent,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => locale,
          2 => inputMethod,
          3 => dataArg,
          4 => viewArg,
          5 => cancelable,
          6 => canBubble,
          7 => eventType),
         Free);
   end initTextEvent;

   function Get_locale
     (This : DispDOMTextEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMTextEvent_Get_locale);
   end Get_locale;

end MSHTML.DispDOMTextEvent_Object;

