MouseWheelInputEvent
-
class
Event.
MouseWheelInputEvent
()
Accessors
viewKey
Methods
Accessors
-
Event.
viewKey
() Get the ViewKey this event is associated with.
Return type: ViewKey
Methods
altDown
-
MouseWheelInputEvent.
altDown
() gets the state of the alt key
Returns: whether the alt key was down when this event was generated Return type: boolean
commandDown
-
MouseWheelInputEvent.
commandDown
() gets the state of the command key
Returns: whether the command key was down when this event was generated Return type: boolean
controlDown
-
MouseWheelInputEvent.
controlDown
() gets the state of the control key
Returns: whether the control key was down when this event was generated Return type: boolean
getButtons
-
MouseWheelInputEvent.
getButtons
() gets the mouse buttons currently pressed with this event
Returns: the mouse buttons currently pressed for this event Return type: Buttons
getDate
-
MouseWheelInputEvent.
getDate
() Gets the Date this event occurred
Returns: the event Date Return type: Date
getEventType
-
MouseWheelInputEvent.
getEventType
() gets the event type
Returns: the type of mouse event Return type: MouseInputType
getHandled
-
MouseWheelInputEvent.
getHandled
() Gets the handled state of the event
Returns: whether the event has been handled Return type: boolean
getModifiers
-
MouseWheelInputEvent.
getModifiers
() gets the event modifiers
Returns: bitwise combination of KeyModifiers Return type: KeyModifiers
getPosition
-
MouseWheelInputEvent.
getPosition
() gets the window position of the mouse pointer for this event
Returns: the mouse position for this event Return type: Point2
getWheelDelta
-
MouseWheelInputEvent.
getWheelDelta
() 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: Wheel dela value Return type: number