00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 module events {
00022
00023
00024 interface Event {
00025
00026
00027 const unsigned short CAPTURING_PHASE = 1;
00028 const unsigned short AT_TARGET = 2;
00029 const unsigned short BUBBLING_PHASE = 3;
00030
00031 #if !defined(LANGUAGE_OBJECTIVE_C)
00032
00033 const unsigned short MOUSEDOWN = 1;
00034 const unsigned short MOUSEUP = 2;
00035 const unsigned short MOUSEOVER = 4;
00036 const unsigned short MOUSEOUT = 8;
00037 const unsigned short MOUSEMOVE = 16;
00038 const unsigned short MOUSEDRAG = 32;
00039 const unsigned short CLICK = 64;
00040 const unsigned short DBLCLICK = 128;
00041 const unsigned short KEYDOWN = 256;
00042 const unsigned short KEYUP = 512;
00043 const unsigned short KEYPRESS = 1024;
00044 const unsigned short DRAGDROP = 2048;
00045 const unsigned short FOCUS = 4096;
00046 const unsigned short BLUR = 8192;
00047 const unsigned short SELECT = 16384;
00048 const unsigned short CHANGE = 32768;
00049 #endif
00050
00051 #if !defined(LANGUAGE_JAVASCRIPT)
00052 readonly attribute DOMString type;
00053 readonly attribute EventTarget target;
00054 readonly attribute EventTarget currentTarget;
00055 readonly attribute unsigned short eventPhase;
00056 readonly attribute boolean bubbles;
00057 readonly attribute boolean cancelable;
00058 readonly attribute DOMTimeStamp timeStamp;
00059 void stopPropagation();
00060 void preventDefault();
00061 [OldStyleObjC] void initEvent(in DOMString eventTypeArg,
00062 in boolean canBubbleArg,
00063 in boolean cancelableArg);
00064 #endif
00065
00066 };
00067
00068 }