OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 interface Event { | |
8 | |
9 static final int AT_TARGET = 2; | |
10 | |
11 static final int BLUR = 8192; | |
12 | |
13 static final int BUBBLING_PHASE = 3; | |
14 | |
15 static final int CAPTURING_PHASE = 1; | |
16 | |
17 static final int CHANGE = 32768; | |
18 | |
19 static final int CLICK = 64; | |
20 | |
21 static final int DBLCLICK = 128; | |
22 | |
23 static final int DRAGDROP = 2048; | |
24 | |
25 static final int FOCUS = 4096; | |
26 | |
27 static final int KEYDOWN = 256; | |
28 | |
29 static final int KEYPRESS = 1024; | |
30 | |
31 static final int KEYUP = 512; | |
32 | |
33 static final int MOUSEDOWN = 1; | |
34 | |
35 static final int MOUSEDRAG = 32; | |
36 | |
37 static final int MOUSEMOVE = 16; | |
38 | |
39 static final int MOUSEOUT = 8; | |
40 | |
41 static final int MOUSEOVER = 4; | |
42 | |
43 static final int MOUSEUP = 2; | |
44 | |
45 static final int SELECT = 16384; | |
46 | |
47 final bool bubbles; | |
48 | |
49 bool cancelBubble; | |
50 | |
51 final bool cancelable; | |
52 | |
53 final Clipboard clipboardData; | |
54 | |
55 final EventTarget currentTarget; | |
56 | |
57 final bool defaultPrevented; | |
58 | |
59 final int eventPhase; | |
60 | |
61 bool returnValue; | |
62 | |
63 final EventTarget srcElement; | |
64 | |
65 final EventTarget target; | |
66 | |
67 final int timeStamp; | |
68 | |
69 final String type; | |
70 | |
71 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg); | |
72 | |
73 void preventDefault(); | |
74 | |
75 void stopImmediatePropagation(); | |
76 | |
77 void stopPropagation(); | |
78 } | |
OLD | NEW |