webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
WebCore::UIEvent Class Reference

#include <UIEvent.h>

Inheritance diagram for WebCore::UIEvent:
WebCore::Event WebCore::Event WTF::RefCounted< Event > WebCore::ScriptWrappable WTF::RefCounted< Event > WebCore::ScriptWrappable WTF::RefCounted< Event > WebCore::ScriptWrappable WTF::RefCounted< Event > WebCore::ScriptWrappable WebCore::CompositionEvent WebCore::FocusEvent WebCore::InputEvent WebCore::InputEvent WebCore::SVGZoomEvent WebCore::TextEvent WebCore::TextEvent WebCore::UIEventWithKeyState WebCore::UIEventWithKeyState

Public Member Functions

virtual ~UIEvent ()
 
WEBCORE_EXPORT void initUIEvent (const AtomicString &type, bool canBubble, bool cancelable, DOMWindow *, int detail)
 
DOMWindowview () const
 
int detail () const
 
EventInterface eventInterface () const override
 
virtual int layerX ()
 
virtual int layerY ()
 
virtual int pageX () const
 
virtual int pageY () const
 
virtual int which () const
 
virtual ~UIEvent ()
 
WEBCORE_EXPORT void initUIEvent (const AtomicString &type, bool canBubble, bool cancelable, DOMWindow *, int detail)
 
DOMWindowview () const
 
int detail () const
 
EventInterface eventInterface () const override
 
virtual int layerX ()
 
virtual int layerY ()
 
virtual int pageX () const
 
virtual int pageY () const
 
virtual int which () const
 
- Public Member Functions inherited from WebCore::Event
virtual ~Event ()
 
WEBCORE_EXPORT void initEvent (const AtomicString &type, bool canBubble, bool cancelable)
 
bool isInitialized () const
 
const AtomicStringtype () const
 
void setType (const AtomicString &type)
 
EventTargettarget () const
 
void setTarget (RefPtr< EventTarget > &&)
 
EventTargetcurrentTarget () const
 
void setCurrentTarget (EventTarget *)
 
unsigned short eventPhase () const
 
void setEventPhase (unsigned short eventPhase)
 
bool bubbles () const
 
bool cancelable () const
 
WEBCORE_EXPORT bool composed () const
 
DOMTimeStamp timeStamp () const
 
void setEventPath (const EventPath &path)
 
void clearEventPath ()
 
Vector< EventTarget * > composedPath () const
 
void stopPropagation ()
 
void stopImmediatePropagation ()
 
bool isTrusted () const
 
void setUntrusted ()
 
EventTargetsrcElement () const
 
bool legacyReturnValue () const
 
void setLegacyReturnValue (bool returnValue)
 
virtual bool isMouseEvent () const
 
virtual bool isFocusEvent () const
 
virtual bool isKeyboardEvent () const
 
virtual bool isInputEvent () const
 
virtual bool isCompositionEvent () const
 
virtual bool isTouchEvent () const
 
virtual bool isClipboardEvent () const
 
virtual bool isBeforeTextInsertedEvent () const
 
virtual bool isBeforeUnloadEvent () const
 
virtual bool isErrorEvent () const
 
virtual bool isTextEvent () const
 
virtual bool isWheelEvent () const
 
bool propagationStopped () const
 
bool immediatePropagationStopped () const
 
void resetPropagationFlags ()
 
bool defaultPrevented () const
 
void preventDefault ()
 
void setDefaultPrevented (bool defaultPrevented)
 
bool defaultHandled () const
 
void setDefaultHandled ()
 
void setInPassiveListener (bool value)
 
bool cancelBubble () const
 
void setCancelBubble (bool)
 
EventunderlyingEvent () const
 
void setUnderlyingEvent (Event *)
 
bool isBeingDispatched () const
 
virtual EventTargetrelatedTarget () const
 
virtual ~Event ()
 
WEBCORE_EXPORT void initEvent (const AtomicString &type, bool canBubble, bool cancelable)
 
bool isInitialized () const
 
const AtomicStringtype () const
 
void setType (const AtomicString &type)
 
EventTargettarget () const
 
void setTarget (RefPtr< EventTarget > &&)
 
EventTargetcurrentTarget () const
 
void setCurrentTarget (EventTarget *)
 
unsigned short eventPhase () const
 
void setEventPhase (unsigned short eventPhase)
 
bool bubbles () const
 
bool cancelable () const
 
WEBCORE_EXPORT bool composed () const
 
DOMTimeStamp timeStamp () const
 
void setEventPath (const EventPath &path)
 
void clearEventPath ()
 
Vector< EventTarget * > composedPath () const
 
void stopPropagation ()
 
void stopImmediatePropagation ()
 
bool isTrusted () const
 
void setUntrusted ()
 
EventTargetsrcElement () const
 
bool legacyReturnValue () const
 
void setLegacyReturnValue (bool returnValue)
 
virtual bool isMouseEvent () const
 
virtual bool isFocusEvent () const
 
virtual bool isKeyboardEvent () const
 
virtual bool isInputEvent () const
 
virtual bool isCompositionEvent () const
 
virtual bool isTouchEvent () const
 
virtual bool isClipboardEvent () const
 
virtual bool isBeforeTextInsertedEvent () const
 
virtual bool isBeforeUnloadEvent () const
 
virtual bool isErrorEvent () const
 
virtual bool isTextEvent () const
 
virtual bool isWheelEvent () const
 
bool propagationStopped () const
 
bool immediatePropagationStopped () const
 
void resetPropagationFlags ()
 
bool defaultPrevented () const
 
void preventDefault ()
 
void setDefaultPrevented (bool defaultPrevented)
 
bool defaultHandled () const
 
void setDefaultHandled ()
 
void setInPassiveListener (bool value)
 
bool cancelBubble () const
 
void setCancelBubble (bool)
 
EventunderlyingEvent () const
 
void setUnderlyingEvent (Event *)
 
bool isBeingDispatched () const
 
virtual EventTargetrelatedTarget () const
 
- Public Member Functions inherited from WebCore::ScriptWrappable
JSDOMObjectwrapper () const
 
void setWrapper (JSDOMObject *, JSC::WeakHandleOwner *, void *)
 
void clearWrapper (JSDOMObject *)
 
JSDOMObjectwrapper () const
 
void setWrapper (JSDOMObject *, JSC::WeakHandleOwner *, void *)
 
void clearWrapper (JSDOMObject *)
 
- Public Member Functions inherited from WTF::RefCounted< Event >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static Ref< UIEventcreate (const AtomicString &type, bool canBubble, bool cancelable, DOMWindow *view, int detail)
 
static Ref< UIEventcreateForBindings ()
 
static Ref< UIEventcreate (const AtomicString &type, const UIEventInit &initializer, IsTrusted isTrusted=IsTrusted::No)
 
static Ref< UIEventcreate (const AtomicString &type, bool canBubble, bool cancelable, DOMWindow *view, int detail)
 
static Ref< UIEventcreateForBindings ()
 
static Ref< UIEventcreate (const AtomicString &type, const UIEventInit &initializer, IsTrusted isTrusted=IsTrusted::No)
 
- Static Public Member Functions inherited from WebCore::Event
static Ref< Eventcreate (const AtomicString &type, bool canBubble, bool cancelable)
 
static Ref< EventcreateForBindings ()
 
static Ref< Eventcreate (const AtomicString &type, const EventInit &initializer, IsTrusted isTrusted=IsTrusted::No)
 
static Ref< Eventcreate (const AtomicString &type, bool canBubble, bool cancelable)
 
static Ref< EventcreateForBindings ()
 
static Ref< Eventcreate (const AtomicString &type, const EventInit &initializer, IsTrusted isTrusted=IsTrusted::No)
 
- Static Public Member Functions inherited from WebCore::ScriptWrappable
template<typename Derived >
static ptrdiff_t offsetOfWrapper ()
 
template<typename Derived >
static ptrdiff_t offsetOfWrapper ()
 

Protected Member Functions

 UIEvent ()
 
 UIEvent (const AtomicString &type, bool canBubble, bool cancelable, DOMWindow *, int detail)
 
 UIEvent (const AtomicString &type, bool canBubble, bool cancelable, double timestamp, DOMWindow *, int detail)
 
 UIEvent (const AtomicString &, const UIEventInit &, IsTrusted)
 
 UIEvent ()
 
 UIEvent (const AtomicString &type, bool canBubble, bool cancelable, DOMWindow *, int detail)
 
 UIEvent (const AtomicString &type, bool canBubble, bool cancelable, double timestamp, DOMWindow *, int detail)
 
 UIEvent (const AtomicString &, const UIEventInit &, IsTrusted)
 
- Protected Member Functions inherited from WebCore::Event
 Event (IsTrusted=IsTrusted::No)
 
WEBCORE_EXPORT Event (const AtomicString &type, bool canBubble, bool cancelable)
 
 Event (const AtomicString &type, bool canBubble, bool cancelable, double timestamp)
 
 Event (const AtomicString &type, const EventInit &, IsTrusted)
 
virtual void receivedTarget ()
 
bool dispatched () const
 
 Event (IsTrusted=IsTrusted::No)
 
WEBCORE_EXPORT Event (const AtomicString &type, bool canBubble, bool cancelable)
 
 Event (const AtomicString &type, bool canBubble, bool cancelable, double timestamp)
 
 Event (const AtomicString &type, const EventInit &, IsTrusted)
 
virtual void receivedTarget ()
 
bool dispatched () const
 
- Protected Member Functions inherited from WebCore::ScriptWrappable
 ~ScriptWrappable ()
 
 ~ScriptWrappable ()
 
- Protected Member Functions inherited from WTF::RefCounted< Event >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Additional Inherited Members

- Public Types inherited from WebCore::Event
enum  IsTrusted { IsTrusted::No, IsTrusted::Yes, IsTrusted::No, IsTrusted::Yes }
 
enum  PhaseType {
  NONE = 0, CAPTURING_PHASE = 1, AT_TARGET = 2, BUBBLING_PHASE = 3,
  NONE = 0, CAPTURING_PHASE = 1, AT_TARGET = 2, BUBBLING_PHASE = 3
}
 
enum  IsTrusted { IsTrusted::No, IsTrusted::Yes, IsTrusted::No, IsTrusted::Yes }
 
enum  PhaseType {
  NONE = 0, CAPTURING_PHASE = 1, AT_TARGET = 2, BUBBLING_PHASE = 3,
  NONE = 0, CAPTURING_PHASE = 1, AT_TARGET = 2, BUBBLING_PHASE = 3
}
 

Constructor & Destructor Documentation

◆ ~UIEvent() [1/2]

UIEvent::~UIEvent ( )
virtual

◆ UIEvent() [1/8]

UIEvent::UIEvent ( )
protected

◆ UIEvent() [2/8]

UIEvent::UIEvent ( const AtomicString type,
bool  canBubble,
bool  cancelable,
DOMWindow viewArg,
int  detail 
)
protected

◆ UIEvent() [3/8]

UIEvent::UIEvent ( const AtomicString type,
bool  canBubble,
bool  cancelable,
double  timestamp,
DOMWindow viewArg,
int  detail 
)
protected

◆ UIEvent() [4/8]

UIEvent::UIEvent ( const AtomicString eventType,
const UIEventInit initializer,
IsTrusted  isTrusted 
)
protected

◆ ~UIEvent() [2/2]

virtual WebCore::UIEvent::~UIEvent ( )
virtual

◆ UIEvent() [5/8]

WebCore::UIEvent::UIEvent ( )
protected

◆ UIEvent() [6/8]

WebCore::UIEvent::UIEvent ( const AtomicString type,
bool  canBubble,
bool  cancelable,
DOMWindow ,
int  detail 
)
protected

◆ UIEvent() [7/8]

WebCore::UIEvent::UIEvent ( const AtomicString type,
bool  canBubble,
bool  cancelable,
double  timestamp,
DOMWindow ,
int  detail 
)
protected

◆ UIEvent() [8/8]

WebCore::UIEvent::UIEvent ( const AtomicString ,
const UIEventInit ,
IsTrusted   
)
protected

Member Function Documentation

◆ create() [1/4]

static Ref<UIEvent> WebCore::UIEvent::create ( const AtomicString type,
bool  canBubble,
bool  cancelable,
DOMWindow view,
int  detail 
)
inlinestatic

◆ create() [2/4]

static Ref<UIEvent> WebCore::UIEvent::create ( const AtomicString type,
bool  canBubble,
bool  cancelable,
DOMWindow view,
int  detail 
)
inlinestatic

◆ create() [3/4]

static Ref<UIEvent> WebCore::UIEvent::create ( const AtomicString type,
const UIEventInit initializer,
IsTrusted  isTrusted = IsTrusted::No 
)
inlinestatic

◆ create() [4/4]

static Ref<UIEvent> WebCore::UIEvent::create ( const AtomicString type,
const UIEventInit initializer,
IsTrusted  isTrusted = IsTrusted::No 
)
inlinestatic

◆ createForBindings() [1/2]

static Ref<UIEvent> WebCore::UIEvent::createForBindings ( )
inlinestatic

◆ createForBindings() [2/2]

static Ref<UIEvent> WebCore::UIEvent::createForBindings ( )
inlinestatic

◆ detail() [1/2]

int WebCore::UIEvent::detail ( ) const
inline

◆ detail() [2/2]

int WebCore::UIEvent::detail ( ) const
inline

◆ eventInterface() [1/2]

EventInterface WebCore::UIEvent::eventInterface ( ) const
overridevirtual

Reimplemented from WebCore::Event.

Reimplemented in WebCore::SVGZoomEvent.

◆ eventInterface() [2/2]

EventInterface UIEvent::eventInterface ( ) const
overridevirtual

◆ initUIEvent() [1/2]

WEBCORE_EXPORT void WebCore::UIEvent::initUIEvent ( const AtomicString type,
bool  canBubble,
bool  cancelable,
DOMWindow ,
int  detail 
)

◆ initUIEvent() [2/2]

void UIEvent::initUIEvent ( const AtomicString type,
bool  canBubble,
bool  cancelable,
DOMWindow viewArg,
int  detail 
)

◆ layerX() [1/2]

int UIEvent::layerX ( )
virtual

◆ layerX() [2/2]

virtual int WebCore::UIEvent::layerX ( )
virtual

◆ layerY() [1/2]

virtual int WebCore::UIEvent::layerY ( )
virtual

◆ layerY() [2/2]

int UIEvent::layerY ( )
virtual

◆ pageX() [1/2]

virtual int WebCore::UIEvent::pageX ( ) const
virtual

◆ pageX() [2/2]

int UIEvent::pageX ( ) const
virtual

◆ pageY() [1/2]

int UIEvent::pageY ( ) const
virtual

◆ pageY() [2/2]

virtual int WebCore::UIEvent::pageY ( ) const
virtual

◆ view() [1/2]

DOMWindow* WebCore::UIEvent::view ( ) const
inline

◆ view() [2/2]

DOMWindow* WebCore::UIEvent::view ( ) const
inline

◆ which() [1/2]

virtual int WebCore::UIEvent::which ( ) const
virtual

◆ which() [2/2]

int UIEvent::which ( ) const
virtual

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