.. role:: clio-inherited
   :class: clio-flag clio-flag-inherited


###############
TouchInputEvent
###############

.. js:class:: wv.Event.TouchInputEvent

   
   Index
   =====
   
   .. rubric:: Accessors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~wv.Event.TouchInputEvent.viewKey`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~wv.Event.TouchInputEvent.getButtons`
   * :js:meth:`~wv.Event.TouchInputEvent.getDate`
   * :js:meth:`~wv.Event.TouchInputEvent.getEventType`
   * :js:meth:`~wv.Event.TouchInputEvent.getHandled`
   * :js:meth:`~wv.Event.TouchInputEvent.getId`
   * :js:meth:`~wv.Event.TouchInputEvent.getPosition`
   * :js:meth:`~wv.Event.TouchInputEvent.setHandled`
   
   



.. rst-class:: kind-group kind-accessors

.. rubric:: Accessors
   :class: kind-group-title


.. js:method:: wv.Event.TouchInputEvent.viewKey

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | *get* viewKey(): :js:data:`ViewKey <wv.Sc.ViewKey>`
      
      Get the ViewKey this event is associated with.
      
      **Returns**\ : :js:data:`ViewKey <wv.Sc.ViewKey>`
      



.. rst-class:: kind-group kind-methods

.. rubric:: Methods
   :class: kind-group-title


.. js:method:: wv.Event.TouchInputEvent.getButtons

      .. rst-class:: sig-pretty-signature
      
         | getButtons(): :js:data:`Buttons <wv.Buttons>`
      
      gets the mouse buttons currently pressed with this event
      
      **Returns**\ : :js:data:`Buttons <wv.Buttons>`
      
      
         the mouse buttons currently pressed for this event
      
      



.. js:method:: wv.Event.TouchInputEvent.getDate

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | getDate(): *Date*
      
      Gets the Date this event occurred
      
      **Returns**\ : *Date*
      
      
         the event Date
      
      



.. js:method:: wv.Event.TouchInputEvent.getEventType

      .. rst-class:: sig-pretty-signature
      
         | getEventType(): :js:data:`TouchInputType <wv.TouchInputType>`
      
      gets the event type
      
      **Returns**\ : :js:data:`TouchInputType <wv.TouchInputType>`
      
      
         the type of touch event
      
      



.. js:method:: wv.Event.TouchInputEvent.getHandled

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | getHandled(): *boolean*
      
      Gets the handled state of the event
      
      **Returns**\ : *boolean*
      
      
         whether the event has been handled
      
      



.. js:method:: wv.Event.TouchInputEvent.getId

      .. rst-class:: sig-pretty-signature
      
         | getId(): *number*
      
      gets the id this event
      
      **Returns**\ : *number*
      
      
         the unique identifier for this touch
      
      



.. js:method:: wv.Event.TouchInputEvent.getPosition

      .. rst-class:: sig-pretty-signature
      
         | getPosition(): :js:class:`Point2 <wv.Point2>`
      
      gets the window position of the mouse pointer for this event
      
      **Returns**\ : :js:class:`Point2 <wv.Point2>`
      
      
         the mouse position for this event
      
      



.. js:method:: wv.Event.TouchInputEvent.setHandled

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | setHandled(**handled**\ : *boolean*\ ): *void*
      
      Sets the handled state of the event. When an event has been handled it will not propagate any further
      
      **Parameters**
      
      
         **handled**\ : *boolean*
      
      
            Indicates whether this event has been handled.
      
      
      
      **Returns**\ : *void*
      




