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