events::Event Interface Reference

events::Event Interface Reference
Inheritance diagram for events::Event:
Collaboration diagram for events::Event:

Public Member Functions

void stopPropagation ()
void preventDefault ()
void initEvent (in DOMString eventTypeArg, in boolean canBubbleArg, in boolean cancelableArg)
- Public Member Functions inherited from XPCOM::IObject
void add_ref ()
 Called to indicate that some code is keeping an owning reference to the object.
oneway void release_ref ()
 Removes a reference to an object which was created by some other means (e.g.
IObject query_interface (in utf8string id)
 Returns an IObject of the same implementation, which supports a specific interface.

Public Attributes

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 DOMTimeStamp timeStamp
- Public Attributes inherited from XPCOM::IObject
readonly attribute string objid
 Fetches the ID of the object.

Detailed Description

Definition at line 53 of file DOM_events.idl.

Member Function Documentation

void events::Event::initEvent ( in DOMString  eventTypeArg,
in boolean  canBubbleArg,
in boolean  cancelableArg 
)
void events::Event::preventDefault ( )
void events::Event::stopPropagation ( )

Member Data Documentation

const unsigned short events::Event::AT_TARGET = 2

Definition at line 57 of file DOM_events.idl.

readonly attribute boolean events::Event::bubbles

Definition at line 64 of file DOM_events.idl.

const unsigned short events::Event::BUBBLING_PHASE = 3

Definition at line 58 of file DOM_events.idl.

readonly attribute boolean events::Event::cancelable

Definition at line 65 of file DOM_events.idl.

const unsigned short events::Event::CAPTURING_PHASE = 1

Definition at line 56 of file DOM_events.idl.

readonly attribute EventTarget events::Event::currentTarget

Definition at line 62 of file DOM_events.idl.

readonly attribute unsigned short events::Event::eventPhase

Definition at line 63 of file DOM_events.idl.

readonly attribute EventTarget events::Event::target

Definition at line 61 of file DOM_events.idl.

readonly attribute DOMTimeStamp events::Event::timeStamp

Definition at line 66 of file DOM_events.idl.

readonly attribute DOMString events::Event::type

Definition at line 60 of file DOM_events.idl.