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

#include <Event.h>

Inheritance diagram for Event:
AnimationEvent ApplePayPaymentAuthorizedEvent ApplePayPaymentMethodSelectedEvent ApplePayShippingContactSelectedEvent ApplePayShippingMethodSelectedEvent ApplePayValidateMerchantEvent AudioProcessingEvent AutocompleteErrorEvent BeforeLoadEvent BeforeUnloadEvent ClipboardEvent CloseEvent CSSFontFaceLoadEvent CustomEvent DeviceMotionEvent DeviceOrientationEvent DeviceProximityEvent ErrorEvent GamepadEvent HashChangeEvent IDBVersionChangeEvent IDBVersionChangeEvent MediaEncryptedEvent MediaEncryptedEvent MediaKeyMessageEvent MediaKeyMessageEvent MediaStreamEvent MediaStreamTrackEvent MessageEvent MutationEvent OfflineAudioCompletionEvent OverconstrainedErrorEvent OverflowEvent PageTransitionEvent PopStateEvent ProgressEvent RTCDataChannelEvent RTCDTMFToneChangeEvent RTCIceCandidateEvent RTCTrackEvent SecurityPolicyViolationEvent SpeechSynthesisEvent StorageEvent TestEventConstructor TrackEvent TransitionEvent UIEvent WebGLContextEvent WebKitAnimationEvent WebKitMediaKeyMessageEvent WebKitMediaKeyNeededEvent WebKitPlaybackTargetAvailabilityEvent WebKitTransitionEvent

Classes

struct  KeyEvent
 
struct  MouseButtonEvent
 
struct  MouseMoveEvent
 
struct  MouseWheelEvent
 
struct  MoveEvent
 
struct  SizeEvent
 

Public Types

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
}
 

Public Member Functions

sequence< NodecomposedPath ()
 
void stopPropagation ()
 
void preventDefault ()
 
void initEvent (DOMString type, optional boolean bubbles=false, optional boolean cancelable=false)
 
void stopImmediatePropagation ()
 

Public Attributes

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
 

Member Enumeration Documentation

◆ EventType

Enumerator
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 

Member Function Documentation

◆ composedPath()

sequence<Node> Event::composedPath ( )

◆ initEvent()

void Event::initEvent ( DOMString  type,
optional boolean  bubbles = false,
optional boolean  cancelable = false 
)

◆ preventDefault()

void Event::preventDefault ( )

◆ stopImmediatePropagation()

void Event::stopImmediatePropagation ( )

◆ stopPropagation()

void Event::stopPropagation ( )

Member Data Documentation

◆ @712

union { ... }

◆ AT_TARGET

const unsigned short Event::AT_TARGET = 2

◆ bubbles

readonly attribute boolean Event::bubbles

◆ BUBBLING_PHASE

const unsigned short Event::BUBBLING_PHASE = 3

◆ cancelable

readonly attribute boolean Event::cancelable

◆ cancelBubble

attribute boolean Event::cancelBubble

◆ CAPTURING_PHASE

const unsigned short Event::CAPTURING_PHASE = 1

◆ composed

readonly attribute boolean Event::composed

◆ currentTarget

readonly attribute EventTarget Event::currentTarget

◆ defaultPrevented

readonly attribute boolean Event::defaultPrevented

◆ eventPhase

readonly attribute unsigned short Event::eventPhase

◆ isTrusted

readonly attribute boolean Event::isTrusted

◆ Key

KeyEvent Event::Key

◆ MouseButton

MouseButtonEvent Event::MouseButton

◆ MouseMove

MouseMoveEvent Event::MouseMove

◆ MouseWheel

MouseWheelEvent Event::MouseWheel

◆ Move

MoveEvent Event::Move

◆ NONE

const unsigned short Event::NONE = 0

◆ returnValue

attribute boolean Event::returnValue

◆ Size

SizeEvent Event::Size

◆ srcElement

readonly attribute EventTarget Event::srcElement

◆ target

◆ timeStamp

readonly attribute DOMTimeStamp Event::timeStamp

◆ type

readonly attribute DOMString Event::type

◆ Type

EventType Event::Type

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