webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
WheelEvent Interface Reference

import"WheelEvent.idl";

Inheritance diagram for WheelEvent:
MouseEvent UIEvent Event

Public Member Functions

void initWebKitWheelEvent (optional long wheelDeltaX=0, optional long wheelDeltaY=0, optional DOMWindow? view=null, optional long screenX=0, optional long screenY=0, optional long clientX=0, optional long clientY=0, optional boolean ctrlKey=false, optional boolean altKey=false, optional boolean shiftKey=false, optional boolean metaKey=false)
 
- Public Member Functions inherited from MouseEvent
void initMouseEvent (optional DOMString type="undefined", optional boolean canBubble=false, optional boolean cancelable=false, optional DOMWindow? view=null, optional long detail=0, optional long screenX=0, optional long screenY=0, optional long clientX=0, optional long clientY=0, optional boolean ctrlKey=false, optional boolean altKey=false, optional boolean shiftKey=false, optional boolean metaKey=false, optional unsigned short button=0, optional any relatedTarget=null)
 
- Public Member Functions inherited from UIEvent
void initUIEvent (optional DOMString type="undefined", optional boolean canBubble=false, optional boolean cancelable=false, optional DOMWindow? view=null, optional long detail=0)
 
void_hidEvent ()
 
NSString_unmodifiedInput ()
 
NSString_modifiedInput ()
 
NSInteger _modifierFlags ()
 
BOOL _isKeyDown ()
 
- Public Member Functions inherited from Event
sequence< NodecomposedPath ()
 
void stopPropagation ()
 
void preventDefault ()
 
void initEvent (DOMString type, optional boolean bubbles=false, optional boolean cancelable=false)
 
void stopImmediatePropagation ()
 

Public Attributes

const unsigned long DOM_DELTA_PIXEL = 0x00
 
const unsigned long DOM_DELTA_LINE = 0x01
 
const unsigned long DOM_DELTA_PAGE = 0x02
 
readonly attribute unrestricted double deltaX
 
readonly attribute unrestricted double deltaY
 
readonly attribute unrestricted double deltaZ
 
readonly attribute unsigned long deltaMode
 
readonly attribute long wheelDeltaX
 
readonly attribute long wheelDeltaY
 
readonly attribute long wheelDelta
 
readonly attribute boolean webkitDirectionInvertedFromDevice
 
- Public Attributes inherited from MouseEvent
const double WEBKIT_FORCE_AT_MOUSE_DOWN = 1
 
const double WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN = 2
 
readonly attribute long screenX
 
readonly attribute long screenY
 
readonly attribute long clientX
 
readonly attribute long clientY
 
readonly attribute boolean ctrlKey
 
readonly attribute boolean shiftKey
 
readonly attribute boolean altKey
 
readonly attribute boolean metaKey
 
readonly attribute unsigned short button
 
readonly attribute EventTarget relatedTarget
 
readonly attribute long movementX
 
readonly attribute long movementY
 
readonly attribute double webkitForce
 
readonly attribute long offsetX
 
readonly attribute long offsetY
 
readonly attribute long x
 
readonly attribute long y
 
readonly attribute Node fromElement
 
readonly attribute Node toElement
 
readonly attribute DataTransfer dataTransfer
 
- Public Attributes inherited from UIEvent
readonly attribute DOMWindow view
 
readonly attribute long detail
 
readonly attribute long layerX
 
readonly attribute long layerY
 
readonly attribute long pageX
 
readonly attribute long pageY
 
readonly attribute long which
 
- Public Attributes inherited from Event
EventType Type
 
union {
   MoveEvent   Move
 
   SizeEvent   Size
 
   KeyEvent   Key
 
   MouseMoveEvent   MouseMove
 
   MouseButtonEvent   MouseButton
 
   MouseWheelEvent   MouseWheel
 
}; 
 
const unsigned short NONE = 0
 
const unsigned short CAPTURING_PHASE = 1
 
const unsigned short AT_TARGET = 2
 
const unsigned short BUBBLING_PHASE = 3
 
readonly attribute DOMString type
 
readonly attribute EventTarget target
 
readonly attribute EventTarget currentTarget
 
readonly attribute unsigned short eventPhase
 
readonly attribute boolean bubbles
 
readonly attribute boolean cancelable
 
readonly attribute boolean composed
 
readonly attribute DOMTimeStamp timeStamp
 
readonly attribute boolean defaultPrevented
 
readonly attribute boolean isTrusted
 
readonly attribute EventTarget srcElement
 
attribute boolean returnValue
 
attribute boolean cancelBubble
 

Additional Inherited Members

- Public Types inherited from Event
enum  EventType {
  EVENT_CLOSED, EVENT_MOVED, EVENT_RESIZED, EVENT_LOST_FOCUS,
  EVENT_GAINED_FOCUS, EVENT_TEXT_ENTERED, EVENT_KEY_PRESSED, EVENT_KEY_RELEASED,
  EVENT_MOUSE_WHEEL_MOVED, EVENT_MOUSE_BUTTON_PRESSED, EVENT_MOUSE_BUTTON_RELEASED, EVENT_MOUSE_MOVED,
  EVENT_MOUSE_ENTERED, EVENT_MOUSE_LEFT, EVENT_TEST
}
 
- Properties inherited from UIEvent
UIKeyboardInputFlags _inputFlags
 

Member Function Documentation

◆ initWebKitWheelEvent()

void WheelEvent::initWebKitWheelEvent ( optional long  wheelDeltaX = 0,
optional long  wheelDeltaY = 0,
optional DOMWindow view = null,
optional long  screenX = 0,
optional long  screenY = 0,
optional long  clientX = 0,
optional long  clientY = 0,
optional boolean  ctrlKey = false,
optional boolean  altKey = false,
optional boolean  shiftKey = false,
optional boolean  metaKey = false 
)

Member Data Documentation

◆ deltaMode

readonly attribute unsigned long WheelEvent::deltaMode

◆ deltaX

readonly attribute unrestricted double WheelEvent::deltaX

◆ deltaY

readonly attribute unrestricted double WheelEvent::deltaY

◆ deltaZ

readonly attribute unrestricted double WheelEvent::deltaZ

◆ DOM_DELTA_LINE

const unsigned long WheelEvent::DOM_DELTA_LINE = 0x01

◆ DOM_DELTA_PAGE

const unsigned long WheelEvent::DOM_DELTA_PAGE = 0x02

◆ DOM_DELTA_PIXEL

const unsigned long WheelEvent::DOM_DELTA_PIXEL = 0x00

◆ webkitDirectionInvertedFromDevice

readonly attribute boolean WheelEvent::webkitDirectionInvertedFromDevice

◆ wheelDelta

readonly attribute long WheelEvent::wheelDelta

◆ wheelDeltaX

readonly attribute long WheelEvent::wheelDeltaX

◆ wheelDeltaY

readonly attribute long WheelEvent::wheelDeltaY

The documentation for this interface was generated from the following file: