Logo Search packages:      
Sourcecode: xulrunner version File versions

nsIDOMEvent Interface Reference

import "nsIDOMEvent.idl";

Inheritance diagram for nsIDOMEvent:

nsISupports nsIDOMBeforeUnloadEvent nsIDOMCustomEvent nsIDOMPageTransitionEvent nsIDOMPopupBlockedEvent nsIDOMSVGEvent nsIDOMUIEvent nsIDOMMouseEvent

List of all members.

Detailed Description

The nsIDOMEvent interface is the primary datatype for all events in the Document Object Model.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Events/


Definition at line 55 of file nsIDOMEvent.idl.

Public Member Functions

void initEvent (in DOMString eventTypeArg, in boolean canBubbleArg, in boolean cancelableArg)
void preventDefault ()
void stopPropagation ()
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

const unsigned short AT_TARGET = 2
readonly attribute boolean bubbles
const unsigned short BUBBLING_PHASE = 3
readonly attribute boolean cancelable
const unsigned short CAPTURING_PHASE = 1
readonly attribute
readonly attribute unsigned short eventPhase
readonly attribute
readonly attribute DOMTimeStamp timeStamp
readonly attribute DOMString type

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

Generated by  Doxygen 1.6.0   Back to index