webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Instance Methods | Properties | List of all members
DOMUIEvent Class Reference

#import <DOMUIEvent.h>

Inheritance diagram for DOMUIEvent:
DOMEvent IDOMUIEvent DOMEvent DOMObject IDOMEvent DOMObject IDOMEvent DOMObject IDOMEvent DOMObject WebScriptObject IDOMObject WebScriptObject IDOMObject WebScriptObject IDOMObject WebScriptObject IDOMObject WebScriptObject IDOMObject WebScriptObject IDOMObject WebScriptObject IDOMObject WebScriptObject IDOMObject WebScriptObject IDOMObject WebScriptObject IDOMObject WebScriptObject IDOMObject WebScriptObject DOMKeyboardEvent DOMKeyboardEvent DOMMouseEvent DOMMouseEvent DOMTextEvent DOMWheelEvent DOMWheelEvent DOMWheelEvent

Instance Methods

(int keyCode- WEBKIT_AVAILABLE_MAC
 
(int charCode- WEBKIT_AVAILABLE_MAC
 
(int layerX) - WEBKIT_DEPRECATED_MAC
 
(int layerY) - WEBKIT_DEPRECATED_MAC
 
(int pageX- WEBKIT_AVAILABLE_MAC
 
(int pageY- WEBKIT_AVAILABLE_MAC
 
(int which- WEBKIT_AVAILABLE_MAC
 
(void- initUIEvent:canBubble:cancelable:view:detail:
 
() - DOMUIEvent
 
(virtual HRESULT STDMETHODCALLTYPE) - QueryInterface
 
(virtual ULONG STDMETHODCALLTYPE) - AddRef
 
(virtual ULONG STDMETHODCALLTYPE) - Release
 
(virtual HRESULT STDMETHODCALLTYPE) - throwException
 
(virtual HRESULT STDMETHODCALLTYPE) - callWebScriptMethod
 
(virtual HRESULT STDMETHODCALLTYPE) - evaluateWebScript
 
(virtual HRESULT STDMETHODCALLTYPE) - removeWebScriptKey
 
(virtual HRESULT STDMETHODCALLTYPE) - stringRepresentation
 
(virtual HRESULT STDMETHODCALLTYPE) - webScriptValueAtIndex
 
(virtual HRESULT STDMETHODCALLTYPE) - setWebScriptValueAtIndex
 
(virtual HRESULT STDMETHODCALLTYPE) - setException
 
(virtual HRESULT STDMETHODCALLTYPE) - type
 
(virtual HRESULT STDMETHODCALLTYPE) - target
 
(virtual HRESULT STDMETHODCALLTYPE) - currentTarget
 
(virtual HRESULT STDMETHODCALLTYPE) - eventPhase
 
(virtual HRESULT STDMETHODCALLTYPE) - bubbles
 
(virtual HRESULT STDMETHODCALLTYPE) - cancelable
 
(virtual HRESULT STDMETHODCALLTYPE) - timeStamp
 
(virtual HRESULT STDMETHODCALLTYPE) - stopPropagation
 
(virtual HRESULT STDMETHODCALLTYPE) - preventDefault
 
(virtual HRESULT STDMETHODCALLTYPE) - initEvent
 
(virtual HRESULT STDMETHODCALLTYPE) - view
 
(virtual HRESULT STDMETHODCALLTYPE) - detail
 
(virtual HRESULT STDMETHODCALLTYPE) - initUIEvent
 
(virtual HRESULT STDMETHODCALLTYPE) - keyCode
 
(virtual HRESULT STDMETHODCALLTYPE) - charCode
 
(virtual HRESULT STDMETHODCALLTYPE) - unused1
 
(virtual HRESULT STDMETHODCALLTYPE) - unused2
 
(virtual HRESULT STDMETHODCALLTYPE) - pageX
 
(virtual HRESULT STDMETHODCALLTYPE) - pageY
 
(virtual HRESULT STDMETHODCALLTYPE) - which
 
(void- initUIEvent:::::
 
- Instance Methods inherited from DOMEvent
(id< DOMEventTarget > srcElement) - WEBKIT_AVAILABLE_MAC
 
(BOOL returnValue) - WEBKIT_AVAILABLE_MAC
 
(BOOL cancelBubble) - WEBKIT_AVAILABLE_MAC
 
(void- initEvent:canBubbleArg:cancelableArg:
 
(WebCore::Event *) - coreEvent
 
(void- initEvent:::
 
- Instance Methods inherited from DOMObject
(instancetype) - NS_UNAVAILABLE
 
(DOMStyleSheet *sheet) - WEBKIT_AVAILABLE_MAC
 
- Instance Methods inherited from WebScriptObject
(10_5) - WEBKIT_AVAILABLE_MAC
 
(id- callWebScriptMethod:withArguments:
 
(id- evaluateWebScript:
 
(void- removeWebScriptKey:
 
(NSString *) - stringRepresentation
 
(id- webScriptValueAtIndex:
 
(void- setWebScriptValueAtIndex:value:
 
(void- setException:
 
(10_5) - WEBKIT_AVAILABLE_MAC
 
(id- callWebScriptMethod:withArguments:
 
(id- evaluateWebScript:
 
(void- removeWebScriptKey:
 
(NSString *) - stringRepresentation
 
(id- webScriptValueAtIndex:
 
(void- setWebScriptValueAtIndex:value:
 
(void- setException:
 
() - WebScriptObject
 
(virtual) - ~WebScriptObject
 
() - WebScriptObject
 
(virtual) - ~WebScriptObject
 
(virtual HRESULT STDMETHODCALLTYPE) - callWebScriptMethod
 
(id- _init
 
(id- _init
 
(id- _initWithJSObject:originRootObject:rootObject:
 
(id- _initWithJSObject:originRootObject:rootObject:
 
(void- _setImp:originRootObject:rootObject:
 
(void- _setImp:originRootObject:rootObject:
 
(void- _setOriginRootObject:andRootObject:
 
(void- _setOriginRootObject:andRootObject:
 
(void- _initializeScriptDOMNodeImp
 
(void- _initializeScriptDOMNodeImp
 
(JSC::JSObject *) - _imp
 
(JSC::JSObject *) - _imp
 
(BOOL- _hasImp
 
(BOOL- _hasImp
 
(JSC::Bindings::RootObject *) - _rootObject
 
(JSC::Bindings::RootObject *) - _rootObject
 
(JSC::Bindings::RootObject *) - _originRootObject
 
(JSC::Bindings::RootObject *) - _originRootObject
 
(JSGlobalContextRef- _globalContextRef
 
(JSGlobalContextRef- _globalContextRef
 
(BOOL- hasWebScriptKey:
 
(BOOL- hasWebScriptKey:
 
(BOOL- hasWebScriptKey:
 
- Instance Methods inherited from IWebScriptObject
HRESULT throwException ([in] BSTR exceptionMessage, [out, retval] BOOL *result)
 
HRESULT callWebScriptMethod ([in] BSTR name, [in, size_is(cArgs)] const VARIANT args[], [in] int cArgs, [out, retval] VARIANT *result)
 
HRESULT evaluateWebScript ([in] BSTR script, [out, retval] VARIANT *result)
 
HRESULT removeWebScriptKey ([in] BSTR name)
 
HRESULT stringRepresentation ([out, retval] BSTR *stringRepresentation)
 
HRESULT webScriptValueAtIndex ([in] unsigned int index, [out, retval] VARIANT *result)
 
HRESULT setWebScriptValueAtIndex ([in] unsigned int index, [in] VARIANT val)
 
HRESULT setException ([in] BSTR description)
 
- Instance Methods inherited from IDOMEvent
HRESULT type ([out, retval] BSTR *result)
 
HRESULT target ([out, retval] IDOMEventTarget **result)
 
HRESULT currentTarget ([out, retval] IDOMEventTarget **result)
 
HRESULT eventPhase ([out, retval] unsigned short *result)
 
HRESULT bubbles ([out, retval] BOOL *result)
 
HRESULT cancelable ([out, retval] BOOL *result)
 
HRESULT timeStamp ([out, retval] DOMTimeStamp *result)
 
HRESULT initEvent ([in] BSTR eventTypeArg, [in] BOOL canBubbleArg, [in] BOOL cancelableArg)
 
- Instance Methods inherited from IDOMUIEvent
HRESULT view ([out, retval] IDOMWindow **result)
 
HRESULT detail ([out, retval] long *result)
 
HRESULT initUIEvent ([in] BSTR type, [in] BOOL canBubble, [in] BOOL cancelable, [in] IDOMWindow *view, [in] long detail)
 
HRESULT keyCode ([out, retval] long *result)
 
HRESULT charCode ([out, retval] long *result)
 
HRESULT unused1 ([out, retval] long *result)
 
HRESULT unused2 ([out, retval] long *result)
 
HRESULT pageX ([out, retval] long *result)
 
HRESULT pageY ([out, retval] long *result)
 
HRESULT which ([out, retval] long *result)
 

Properties

DOMAbstractViewview
 
int detail
 
- Properties inherited from DOMEvent
NSStringtype
 
id< DOMEventTarget > target
 
id< DOMEventTarget > currentTarget
 
unsigned short eventPhase
 
BOOL bubbles
 
BOOL cancelable
 
DOMTimeStamp timeStamp
 

Additional Inherited Members

- Class Methods inherited from DOMEvent
(static IDOMEvent *) + createInstance
 
- Class Methods inherited from WebScriptObject
(BOOL+ throwException:
 
(BOOL+ throwException:
 
(id+ _convertValueToObjcValue:originRootObject:rootObject:
 
(id+ _convertValueToObjcValue:originRootObject:rootObject:
 
(id+ scriptObjectForJSObject:originRootObject:rootObject:
 
(id+ scriptObjectForJSObject:originRootObject:rootObject:
 
- Public Attributes inherited from IDOMEvent
const unsigned short DOMEVENT_CAPTURING_PHASE = 1
 
const unsigned short DOMEVENT_AT_TARGET = 2
 
const unsigned short DOMEVENT_BUBBLING_PHASE = 3
 
const unsigned short DOMEVENT_MOUSEDOWN = 1
 
const unsigned short DOMEVENT_MOUSEUP = 2
 
const unsigned short DOMEVENT_MOUSEOVER = 4
 
const unsigned short DOMEVENT_MOUSEOUT = 8
 
const unsigned short DOMEVENT_MOUSEMOVE = 16
 
const unsigned short DOMEVENT_MOUSEDRAG = 32
 
const unsigned short DOMEVENT_CLICK = 64
 
const unsigned short DOMEVENT_DBLCLICK = 128
 
const unsigned short DOMEVENT_KEYDOWN = 256
 
const unsigned short DOMEVENT_KEYUP = 512
 
const unsigned short DOMEVENT_KEYPRESS = 1024
 
const unsigned short DOMEVENT_DRAGDROP = 2048
 
const unsigned short DOMEVENT_FOCUS = 4096
 
const unsigned short DOMEVENT_BLUR = 8192
 
const unsigned short DOMEVENT_SELECT = 16384
 
const unsigned short DOMEVENT_CHANGE = 32768
 
- Protected Member Functions inherited from DOMEvent
() - DOMEvent
 
() - ~DOMEvent
 
- Protected Attributes inherited from DOMEvent
RefPtr< WebCore::Eventm_event
 
- Protected Attributes inherited from DOMObject
package DOMObjectInternal_internal
 
- Protected Attributes inherited from WebScriptObject
WebScriptObjectPrivate_private
 
ULONG m_refCount { 0 }
 

Constructor & Destructor Documentation

◆ DOMUIEvent()

- DOMUIEvent (PassRefPtr< WebCore::Event >)  e

Method Documentation

◆ AddRef()

- (virtual ULONG STDMETHODCALLTYPE) AddRef (void

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ bubbles()

- (virtual HRESULT STDMETHODCALLTYPE) bubbles (_Out_ BOOL *)  result

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ callWebScriptMethod()

- (virtual HRESULT STDMETHODCALLTYPE) callWebScriptMethod (_In_ BSTR name
(__in_ecount_opt(cArgs) const VARIANT)  args[]
(int)  cArgs
(_Out_ VARIANT *)  result 

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ cancelable()

- (virtual HRESULT STDMETHODCALLTYPE) cancelable (_Out_ BOOL *)  result

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ charCode()

- (HRESULT) charCode (_Out_ long *) 

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ currentTarget()

- (virtual HRESULT STDMETHODCALLTYPE) currentTarget (_COM_Outptr_opt_ IDOMEventTarget **)  result

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ detail()

- (HRESULT) detail (_Out_ long *)  result

Reimplemented in DOMWheelEvent, and DOMMouseEvent.

◆ evaluateWebScript()

- (virtual HRESULT STDMETHODCALLTYPE) evaluateWebScript (_In_ BSTR script
(_Out_ VARIANT *)  result 

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ eventPhase()

- (virtual HRESULT STDMETHODCALLTYPE) eventPhase (_Out_ unsigned short *)  result

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ initEvent()

- (virtual HRESULT STDMETHODCALLTYPE) initEvent (_In_ BSTR eventTypeArg
(BOOL canBubbleArg
(BOOL cancelableArg 

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ initUIEvent()

- (HRESULT) initUIEvent (_In_ BSTR type
(BOOL canBubble
(BOOL cancelable
(_In_opt_ IDOMWindow *)  view
(long)  detail 

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ initUIEvent:::::()

- (void) initUIEvent: (NSString *)  type
: (BOOL canBubble
: (BOOL cancelable
: (DOMAbstractView *)  view
: (10_4) 
(10_5)  WEBKIT_DEPRECATED_MAC 

Provided by category DOMUIEvent(DOMUIEventDeprecated).

◆ initUIEvent:canBubble:cancelable:view:detail:()

- (void) initUIEvent: (NSString *)  type
canBubble: (BOOL canBubble
cancelable: (BOOL cancelable
view: (DOMAbstractView *)  view
detail: (10_5)  WEBKIT_AVAILABLE_MAC 

◆ keyCode()

- (HRESULT) keyCode (_Out_ long *) 

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ pageX()

- (HRESULT) pageX (_Out_ long *) 

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ pageY()

- (HRESULT) pageY (_Out_ long *) 

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ preventDefault()

- (virtual HRESULT STDMETHODCALLTYPE) preventDefault

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ QueryInterface()

- (HRESULT) QueryInterface (_In_ REFIID)  riid
(_COM_Outptr_ void **)  ppvObject 

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ Release()

- (virtual ULONG STDMETHODCALLTYPE) Release (void

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ removeWebScriptKey()

- (virtual HRESULT STDMETHODCALLTYPE) removeWebScriptKey (_In_ BSTR name

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ setException()

- (virtual HRESULT STDMETHODCALLTYPE) setException (_In_ BSTR description

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ setWebScriptValueAtIndex()

- (virtual HRESULT STDMETHODCALLTYPE) setWebScriptValueAtIndex (unsigned)  index
(VARIANT)  val 

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ stopPropagation()

- (virtual HRESULT STDMETHODCALLTYPE) stopPropagation

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ stringRepresentation()

- (virtual HRESULT STDMETHODCALLTYPE) stringRepresentation (__deref_opt_out BSTR *)  stringRepresentation

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ target()

- (virtual HRESULT STDMETHODCALLTYPE) target (_COM_Outptr_opt_ IDOMEventTarget **)  result

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ throwException()

- (virtual HRESULT STDMETHODCALLTYPE) throwException (_In_ BSTR exceptionMessage
(_Out_ BOOL *)  result 

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ timeStamp()

- (virtual HRESULT STDMETHODCALLTYPE) timeStamp (_Out_ DOMTimeStamp *)  result

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ type()

- (virtual HRESULT STDMETHODCALLTYPE) type (__deref_opt_out BSTR *)  result

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ unused1()

- (HRESULT) unused1 (_Out_ long *) 

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ unused2()

- (HRESULT) unused2 (_Out_ long *) 

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ view()

- (HRESULT) view (_COM_Outptr_opt_ IDOMWindow **)  result

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ WEBKIT_AVAILABLE_MAC() [1/5]

- (int keyCode) WEBKIT_AVAILABLE_MAC (10_5) 

◆ WEBKIT_AVAILABLE_MAC() [2/5]

- (int charCode) WEBKIT_AVAILABLE_MAC (10_5) 

◆ WEBKIT_AVAILABLE_MAC() [3/5]

- (int pageX) WEBKIT_AVAILABLE_MAC (10_5) 

◆ WEBKIT_AVAILABLE_MAC() [4/5]

- (int pageY) WEBKIT_AVAILABLE_MAC (10_5) 

◆ WEBKIT_AVAILABLE_MAC() [5/5]

- (int which) WEBKIT_AVAILABLE_MAC (10_5) 

◆ WEBKIT_DEPRECATED_MAC() [1/2]

- (int layerX) WEBKIT_DEPRECATED_MAC (10_5) 
(10_5)   

◆ WEBKIT_DEPRECATED_MAC() [2/2]

- (int layerY) WEBKIT_DEPRECATED_MAC (10_5) 
(10_5)   

◆ webScriptValueAtIndex()

- (virtual HRESULT STDMETHODCALLTYPE) webScriptValueAtIndex (unsigned)  index
(_Out_ VARIANT *)  result 

Reimplemented from DOMEvent.

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

◆ which()

- (HRESULT) which (_Out_ long *) 

Reimplemented in DOMWheelEvent, DOMMouseEvent, and DOMKeyboardEvent.

Property Documentation

◆ detail

- (int) detail
readatomicassign

◆ view

- (DOMAbstractView *) view
readatomicstrong

The documentation for this class was generated from the following files: