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


####################
MouseWheelInputEvent
####################

.. js:class:: wv.Event.MouseWheelInputEvent

   
   Index
   =====
   
   .. rubric:: Accessors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~wv.Event.MouseWheelInputEvent.viewKey`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~wv.Event.MouseWheelInputEvent.altDown`
   * :js:meth:`~wv.Event.MouseWheelInputEvent.commandDown`
   * :js:meth:`~wv.Event.MouseWheelInputEvent.controlDown`
   * :js:meth:`~wv.Event.MouseWheelInputEvent.getButtons`
   * :js:meth:`~wv.Event.MouseWheelInputEvent.getDate`
   * :js:meth:`~wv.Event.MouseWheelInputEvent.getEventType`
   * :js:meth:`~wv.Event.MouseWheelInputEvent.getHandled`
   * :js:meth:`~wv.Event.MouseWheelInputEvent.getModifiers`
   * :js:meth:`~wv.Event.MouseWheelInputEvent.getPosition`
   * :js:meth:`~wv.Event.MouseWheelInputEvent.getWheelDelta`
   * :js:meth:`~wv.Event.MouseWheelInputEvent.setHandled`
   * :js:meth:`~wv.Event.MouseWheelInputEvent.shiftDown`
   
   



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

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


.. js:method:: wv.Event.MouseWheelInputEvent.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.MouseWheelInputEvent.altDown

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | altDown(): *boolean*
      
      gets the state of the alt key
      
      **Returns**\ : *boolean*
      
      
         whether the alt key was down when this event was generated
      
      



.. js:method:: wv.Event.MouseWheelInputEvent.commandDown

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | commandDown(): *boolean*
      
      gets the state of the command key
      
      **Returns**\ : *boolean*
      
      
         whether the command key was down when this event was generated
      
      



.. js:method:: wv.Event.MouseWheelInputEvent.controlDown

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | controlDown(): *boolean*
      
      gets the state of the control key
      
      **Returns**\ : *boolean*
      
      
         whether the control key was down when this event was generated
      
      



.. js:method:: wv.Event.MouseWheelInputEvent.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.MouseWheelInputEvent.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.MouseWheelInputEvent.getEventType

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | getEventType(): :js:data:`MouseInputType <wv.MouseInputType>`
      
      gets the event type
      
      **Returns**\ : :js:data:`MouseInputType <wv.MouseInputType>`
      
      
         the type of mouse event
      
      



.. js:method:: wv.Event.MouseWheelInputEvent.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.MouseWheelInputEvent.getModifiers

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | getModifiers(): :js:data:`KeyModifiers <wv.KeyModifiers>`
      
      gets the event modifiers
      
      **Returns**\ : :js:data:`KeyModifiers <wv.KeyModifiers>`
      
      
         bitwise combination of KeyModifiers
      
      



.. js:method:: wv.Event.MouseWheelInputEvent.getPosition

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. 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.MouseWheelInputEvent.getWheelDelta

      .. rst-class:: sig-pretty-signature
      
         | getWheelDelta(): *number*
      
      Gets the wheel delta for this event. A positive value indicates that the wheel was scrolled Up, while a negative value indicated the wheel was scrolled down.
      
      **Returns**\ : *number*
      
      
         Wheel dela value
      
      



.. js:method:: wv.Event.MouseWheelInputEvent.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*
      



.. js:method:: wv.Event.MouseWheelInputEvent.shiftDown

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | shiftDown(): *boolean*
      
      gets the state of the shift key
      
      **Returns**\ : *boolean*
      
      
         whether the shift key was down when this event was generated
      
      




