Event Interface Reference

import "Event.idl";

Inherited by MutationEvent, OverflowEvent, and UIEvent.

Inheritance diagram for Event:

Inheritance graph
[legend]
Collaboration diagram for Event:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Public Attributes

const unsigned short CAPTURING_PHASE = 1
const unsigned short AT_TARGET = 2
const unsigned short BUBBLING_PHASE = 3
const unsigned short MOUSEDOWN = 1
const unsigned short MOUSEUP = 2
const unsigned short MOUSEOVER = 4
const unsigned short MOUSEOUT = 8
const unsigned short MOUSEMOVE = 16
const unsigned short MOUSEDRAG = 32
const unsigned short CLICK = 64
const unsigned short DBLCLICK = 128
const unsigned short KEYDOWN = 256
const unsigned short KEYUP = 512
const unsigned short KEYPRESS = 1024
const unsigned short DRAGDROP = 2048
const unsigned short FOCUS = 4096
const unsigned short BLUR = 8192
const unsigned short SELECT = 16384
const unsigned short CHANGE = 32768
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

Detailed Description

Definition at line 24 of file Event.idl.


Member Function Documentation

void stopPropagation (  ) 

void preventDefault (  ) 

void initEvent ( in DOMString  eventTypeArg,
in boolean  canBubbleArg,
in boolean  cancelableArg 
)


Member Data Documentation

const unsigned short CAPTURING_PHASE = 1

Definition at line 27 of file Event.idl.

const unsigned short AT_TARGET = 2

Definition at line 28 of file Event.idl.

const unsigned short BUBBLING_PHASE = 3

Definition at line 29 of file Event.idl.

const unsigned short MOUSEDOWN = 1

Definition at line 33 of file Event.idl.

const unsigned short MOUSEUP = 2

Definition at line 34 of file Event.idl.

const unsigned short MOUSEOVER = 4

Definition at line 35 of file Event.idl.

const unsigned short MOUSEOUT = 8

Definition at line 36 of file Event.idl.

const unsigned short MOUSEMOVE = 16

Definition at line 37 of file Event.idl.

const unsigned short MOUSEDRAG = 32

Definition at line 38 of file Event.idl.

const unsigned short CLICK = 64

Definition at line 39 of file Event.idl.

const unsigned short DBLCLICK = 128

Definition at line 40 of file Event.idl.

const unsigned short KEYDOWN = 256

Definition at line 41 of file Event.idl.

const unsigned short KEYUP = 512

Definition at line 42 of file Event.idl.

const unsigned short KEYPRESS = 1024

Definition at line 43 of file Event.idl.

const unsigned short DRAGDROP = 2048

Definition at line 44 of file Event.idl.

const unsigned short FOCUS = 4096

Definition at line 45 of file Event.idl.

const unsigned short BLUR = 8192

Definition at line 46 of file Event.idl.

const unsigned short SELECT = 16384

Definition at line 47 of file Event.idl.

const unsigned short CHANGE = 32768

Definition at line 48 of file Event.idl.

readonly attribute DOMString type

Definition at line 52 of file Event.idl.

readonly attribute EventTarget target

Definition at line 53 of file Event.idl.

readonly attribute EventTarget currentTarget

Definition at line 54 of file Event.idl.

readonly attribute unsigned short eventPhase

Definition at line 55 of file Event.idl.

readonly attribute boolean bubbles

Definition at line 56 of file Event.idl.

readonly attribute boolean cancelable

Definition at line 57 of file Event.idl.

readonly attribute DOMTimeStamp timeStamp

Definition at line 58 of file Event.idl.


The documentation for this interface was generated from the following file:
Generated on Fri Feb 9 15:12:06 2007 for Web Kit DOM by  doxygen 1.5.1