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


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

.. js:class:: Event.MouseWheelInputEvent

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




Accessors
=========

.. js:method:: Event.MouseWheelInputEvent.viewKey

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





Methods
=======

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

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



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

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



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

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



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

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



.. js:method:: 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:: 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:: 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
   
   





