1 |
Namespace: |
2 |
@DOMCore: |
3 |
http://suika.fam.cx/~wakaba/archive/2004/8/18/dom-core# |
4 |
@ev: |
5 |
http://www.w3.org/2001/xml-events |
6 |
@lang: |
7 |
http://suika.fam.cx/~wakaba/archive/2004/8/18/lang# |
8 |
@license: |
9 |
http://suika.fam.cx/~wakaba/archive/2004/8/18/license# |
10 |
@ManakaiDOMEvents: |
11 |
http://suika.fam.cx/~wakaba/archive/2004/mdom-ev# |
12 |
@TreeCore:\ |
13 |
Module: |
14 |
@Name: DOMUIEvents |
15 |
@Namespace: |
16 |
http://suika.fam.cx/~wakaba/archive/2004/dom/events# |
17 |
@BindingName: |
18 |
@@@: events |
19 |
@@Type: |
20 |
lang:IDL-DOM |
21 |
@@prefix: dom.w3c.org |
22 |
@FullName: |
23 |
@@lang:en |
24 |
@@@: DOM User Interface Events Module |
25 |
@Description: |
26 |
@@lang:en |
27 |
@@@: |
28 |
Basic event types associated with user interfaces. |
29 |
|
30 |
@Author: |
31 |
@@FullName: Wakaba |
32 |
@@Mail: w@suika.fam.cx |
33 |
@License: |
34 |
license:Perl+MPL |
35 |
@Date.RCS: |
36 |
$Date: 2004/10/10 00:01:08 $ |
37 |
|
38 |
@ConditionDef: |
39 |
@@Name:DOM2 |
40 |
@ConditionDef: |
41 |
@@Name:DOM3 |
42 |
@@ISA:DOM2 |
43 |
@NormalCondition:DOM3 |
44 |
|
45 |
@Feature: |
46 |
@@Name:UIEvents |
47 |
@@Version:2.0 |
48 |
@@FullName: DOM Level 2 User Interface Events |
49 |
@@ImplNote: |
50 |
@@@lang:en |
51 |
@@@@: |
52 |
The support for <Feature:Events>/<FeatureVer:2.0> and |
53 |
<Feature:View>/<FeatureVer:2.0> is required. |
54 |
@@Condition[list]: |
55 |
DOM2 |
56 |
DOM3 |
57 |
@@Contrib: |
58 |
DOMCore:DOMImplementation:: |
59 |
@Feature: |
60 |
@@Name:UIEvents |
61 |
@@Version:3.0 |
62 |
@@FullName: DOM Level 3 User Interface Events |
63 |
@@ImplNote: |
64 |
@@@lang:en |
65 |
@@@@: |
66 |
The support for <Feature:Events>/<FeatureVer:3.0> |
67 |
and <Feature:View>/<FeatureVer:2.0> is required. |
68 |
@@Condition[list]: |
69 |
DOM3 |
70 |
@@Contrib: |
71 |
DOMCore:DOMImplementation:: |
72 |
|
73 |
|
74 |
@Require: |
75 |
@@Module: |
76 |
@@@Name: DOMEvents |
77 |
@@@FileName: |
78 |
@@@@@: events.idl |
79 |
@@@@For: |
80 |
lang:IDL-DOM |
81 |
@@@Namespace: |
82 |
http://suika.fam.cx/~wakaba/archive/2004/dom/events# |
83 |
@@Module: |
84 |
@@@Name: DOMViews |
85 |
@@@FileName: |
86 |
@@@@@: views.idl |
87 |
@@@@For: |
88 |
lang:IDL-DOM |
89 |
@@@Namespace: |
90 |
http://suika.fam.cx/~wakaba/archive/2004/dom/views# |
91 |
|
92 |
EventSet: |
93 |
@Event: |
94 |
@@Name:DOMActivate |
95 |
@@QName: |
96 |
ev:DOMActivate |
97 |
@@Type:UIEvent |
98 |
@@Description: |
99 |
@@@lang:en |
100 |
@@@@: |
101 |
An element is activated. |
102 |
The activation of an element is device and user agent dependent. |
103 |
\ |
104 |
{eg: |
105 |
\ |
106 |
- An element is clicked using a mouse. |
107 |
\ |
108 |
- An element is double-clicked using a mouse. |
109 |
\ |
110 |
- An element is activated using a keyboard. |
111 |
\ |
112 |
- An element is activated by a voice command. |
113 |
\ |
114 |
} |
115 |
@@EventTarget: |
116 |
@@@Type: |
117 |
DOMCore:Element |
118 |
@@IsCancelable:1 |
119 |
@@IsBubbling:1 |
120 |
@@SpecLevel:2 |
121 |
@Event: |
122 |
@@Name:DOMFocusIn |
123 |
@@QName: |
124 |
ev:DOMFocusIn |
125 |
@@Description: |
126 |
@@@lang:en |
127 |
@@@@: |
128 |
An event target receives focus. |
129 |
\ |
130 |
{eg: |
131 |
\ |
132 |
- A pointing device is moved onto an element. |
133 |
\ |
134 |
- A keyboard navigation gives the focus to an element. |
135 |
\ |
136 |
} |
137 |
@@ActionBefore: |
138 |
@@@Description: |
139 |
@@@@lang:en |
140 |
@@@@@: |
141 |
The focus is given to the event target. |
142 |
@@IsBubbling:1 |
143 |
@@IsCancelable:0 |
144 |
@@Type:UIEvent |
145 |
@@EventTarget: |
146 |
@@@Type: |
147 |
DOMCore:Element |
148 |
@@SpecLevel:2 |
149 |
@Event: |
150 |
@@Name:DOMFocusOut |
151 |
@@QName: |
152 |
ev:DOMFocusOut |
153 |
@@Description: |
154 |
@@@lang:en |
155 |
@@@@: |
156 |
An event target loses focus. |
157 |
\ |
158 |
{eg: |
159 |
\ |
160 |
- A pointing device is moved out of an element. |
161 |
\ |
162 |
- A tabbing navigation is moved out of the element. |
163 |
} |
164 |
@@ActionBefore: |
165 |
@@@Description: |
166 |
@@@@lang:en |
167 |
@@@@@: |
168 |
The focus is taken from the event target. |
169 |
@@IsBubbling:1 |
170 |
@@IsCancelable:0 |
171 |
@@Type:UIEvent |
172 |
@@EventTarget: |
173 |
@@@Type: |
174 |
DOMCore:Element |
175 |
@@SpecLevel:2 |
176 |
|
177 |
IF: |
178 |
@Name: UIEvent |
179 |
@Description: |
180 |
@@lang:en |
181 |
@@@: |
182 |
Provide specific contextual information associated |
183 |
with User Interface events. |
184 |
@Example: |
185 |
@@FullName: |
186 |
@@@lang:en |
187 |
@@@@: |
188 |
Create an instance of the <IF:UIEvent> |
189 |
@@Code: |
190 |
@@@Type: |
191 |
lang:Perl |
192 |
@@@@: |
193 |
my $uievent = $DocumentEvent->createEvent ('UIEvent'); |
194 |
|
195 |
@ISA: |
196 |
DOMEvents:Event |
197 |
@Role: |
198 |
@@@: |
199 |
DOMEvents:Event |
200 |
@@compat: |
201 |
ManakaiDOMEvents:Events |
202 |
|
203 |
@Level[list]: 2 |
204 |
@SpecLevel[list]: |
205 |
2 |
206 |
3 |
207 |
@Attr: |
208 |
@@Name: view |
209 |
@@Description: |
210 |
@@@lang:en |
211 |
@@@@: |
212 |
The <IF:AbstractView> from which the event was generated. |
213 |
@@Get: |
214 |
@@@Type: |
215 |
DOMViews:AbstractView |
216 |
@@@Def: |
217 |
@@@@Type: |
218 |
lang:dis |
219 |
@@@@GetProp: |
220 |
DOMUIEvents:view |
221 |
@Attr: |
222 |
@@Name: detail |
223 |
@@Description: |
224 |
@@@lang:en |
225 |
@@@@: |
226 |
Some detail information about the event. It depends on |
227 |
the type of event. |
228 |
@@Get: |
229 |
@@@Type: |
230 |
DOMMain:long |
231 |
@@@Def: |
232 |
@@@@Type: |
233 |
lang:dis |
234 |
@@@@GetProp: |
235 |
DOMUIEvents:detail |
236 |
@Method: |
237 |
@@Name: initUIEvent |
238 |
@@Description: |
239 |
@@@lang:en |
240 |
@@@@: |
241 |
Initialize the value of a <IF:UIEvent> object. It has the |
242 |
same behavior as <M:Event.initEvent>. |
243 |
@@NSVersion:initUIEventNS |
244 |
@@Param: |
245 |
@@@Name: typeArg |
246 |
@@@Type: |
247 |
DOMMain:DOMString |
248 |
@@Param: |
249 |
@@@Name: canBubbleArg |
250 |
@@@Type: |
251 |
DOMMain:boolean |
252 |
@@@InCase: |
253 |
@@@@Value: true |
254 |
@@@InCase: |
255 |
@@@@Value: false |
256 |
@@Param: |
257 |
@@@Name: cancelableArg |
258 |
@@@Type: |
259 |
DOMMain:boolean |
260 |
@@@InCase: |
261 |
@@@@Value: true |
262 |
@@@InCase: |
263 |
@@@@Value: false |
264 |
@@Param: |
265 |
@@@Name: viewArg |
266 |
@@@Type: |
267 |
DOMViews:AbstractView |
268 |
@@@Description: |
269 |
@@@@lang:en |
270 |
@@@@@: |
271 |
The new value for the attribute <A:view>. |
272 |
@@Param: |
273 |
@@@Name: detailArg |
274 |
@@@Type: |
275 |
DOMMain:long |
276 |
@@@Description: |
277 |
@@@@lang:en |
278 |
@@@@@: |
279 |
The new value for the attribute <A:detail>. |
280 |
@@Return: |
281 |
@@@Def: |
282 |
@@@@Type: |
283 |
lang:Perl |
284 |
@@@@@: |
285 |
## Conditional |
286 |
$self->__SUPER{Event}__::initEvent |
287 |
($typeArg, $canBubbleArg, $cancelableArg); |
288 |
$self->{<Q:TreeCore:node>}->{<Q:DOMUIEvents:view>} = $viewArg; |
289 |
$self->{<Q:TreeCore:node>}->{<Q:DOMUIEvents:detail>} = $detailArg; |
290 |
@@SpecLevel:2 |
291 |
@@Level[list]: |
292 |
2 |
293 |
3 |
294 |
@Method: |
295 |
@@Name: initUIEventNS |
296 |
@@NoNSVersion:initUIEvent |
297 |
@@Description: |
298 |
@@@lang:en |
299 |
@@@@: |
300 |
Initialize the value of a <IF:UIEvent> object. It has |
301 |
the same behavior as <M:Event.initEventNS>. |
302 |
@@Param: |
303 |
@@@Name: namespaceURI |
304 |
@@@Type: |
305 |
ManakaiDOM:ManakaiDOMNamespaceURI |
306 |
@@Param: |
307 |
@@@Name: typeArg |
308 |
@@@Type: |
309 |
DOMMain:DOMString |
310 |
@@Param: |
311 |
@@@Name: canBubbleArg |
312 |
@@@Type: |
313 |
DOMMain:boolean |
314 |
@@@InCase: |
315 |
@@@@Value: true |
316 |
@@@InCase: |
317 |
@@@@Value: false |
318 |
@@Param: |
319 |
@@@Name: cancelableArg |
320 |
@@@Type: |
321 |
DOMMain:boolean |
322 |
@@@InCase: |
323 |
@@@@Value: true |
324 |
@@@InCase: |
325 |
@@@@Value: false |
326 |
@@Param: |
327 |
@@@Name: viewArg |
328 |
@@@Type: |
329 |
DOMViews:AbstractView |
330 |
@@Param: |
331 |
@@@Name: detailArg |
332 |
@@@Type: |
333 |
DOMMain:long |
334 |
@@Return: |
335 |
@@@Def: |
336 |
@@@@Type: |
337 |
lang:Perl |
338 |
@@@@@: |
339 |
## Conditional |
340 |
$self->__SUPER{Event}__::initEventNS |
341 |
($namespaceURI, $typeArg, $canBubbleArg, $cancelableArg); |
342 |
$self->{<Q:TreeCore:node>}->{<Q:DOMUIEvents:view>} = $viewArg; |
343 |
$self->{<Q:TreeCore:node>}->{<Q:DOMUIEvents:detail>} = $detailArg; |
344 |
@@Level[list]: 3 |
345 |
@@SpecLevel[list]: 3 |
346 |
##IF:UIEvent |
347 |
|
348 |
## DOMUIEvents.dis ends here |