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

import"TouchEvent.idl";

Inheritance diagram for TouchEvent:
UIEvent Event

Public Member Functions

void initTouchEvent (optional TouchList? touches=null, optional TouchList? targetTouches=null, optional TouchList? changedTouches=null, optional DOMString type="undefined", 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 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

readonly attribute TouchList touches
 
readonly attribute TouchList targetTouches
 
readonly attribute TouchList changedTouches
 
readonly attribute boolean ctrlKey
 
readonly attribute boolean shiftKey
 
readonly attribute boolean altKey
 
readonly attribute boolean metaKey
 
- 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

◆ initTouchEvent()

void TouchEvent::initTouchEvent ( optional TouchList touches = null,
optional TouchList targetTouches = null,
optional TouchList changedTouches = null,
optional DOMString  type = "undefined",
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

◆ altKey

readonly attribute boolean TouchEvent::altKey

◆ changedTouches

readonly attribute TouchList TouchEvent::changedTouches

◆ ctrlKey

readonly attribute boolean TouchEvent::ctrlKey

◆ metaKey

readonly attribute boolean TouchEvent::metaKey

◆ shiftKey

readonly attribute boolean TouchEvent::shiftKey

◆ targetTouches

readonly attribute TouchList TouchEvent::targetTouches

◆ touches

readonly attribute TouchList TouchEvent::touches

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