/[suikacvs]/messaging/manakai/lib/Message/DOM/DOMBasicEvents.dis
Suika

Contents of /messaging/manakai/lib/Message/DOM/DOMBasicEvents.dis

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Oct 17 04:46:43 2004 UTC (20 years, 1 month ago) by wakaba
Branch: MAIN
CVS Tags: before-dis2-200411, manakai-release-0-3-2, manakai-release-0-3-1, manakai-release-0-4-0, manakai-200612, HEAD
New modules

1 Namespace:
2 @DOMCore:
3 http://suika.fam.cx/~wakaba/archive/2004/8/18/dom-core#
4 @DOMEvents:
5 http://suika.fam.cx/~wakaba/archive/2004/dom/events#
6 @DOMViews:
7 http://suika.fam.cx/~wakaba/archive/2004/dom/views#
8 @ev:
9 http://www.w3.org/2001/xml-events
10 @lang:
11 http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#
12 @license:
13 http://suika.fam.cx/~wakaba/archive/2004/8/18/license#
14 @ManakaiDOMEvents:
15 http://suika.fam.cx/~wakaba/archive/2004/mdom-ev#
16 @TreeCore:\
17 Module:
18 @Name: DOMBasicEvents
19 @Namespace:
20 http://suika.fam.cx/~wakaba/archive/2004/dom/events#
21 @BindingName:
22 @@@: events
23 @@Type:
24 lang:IDL-DOM
25 @@prefix: dom.w3c.org
26 @FullName:
27 @@lang:en
28 @@@: DOM Basic Events Module
29 @Description:
30 @@lang:en
31 @@@:
32 Basic event types associated with document manipulation.
33 \
34 {NOTE:: In DOM Level 2, these event types were part of
35 the <Module:DOMHTMLEvents> module.
36 \
37 }
38
39 @Author:
40 @@FullName: Wakaba
41 @@Mail: w@suika.fam.cx
42 @License:
43 license:Perl+MPL
44 @Date.RCS:
45 $Date: 2004/10/16 13:34:17 $
46
47 @ConditionDef:
48 @@Name:DOM2
49 @ConditionDef:
50 @@Name:DOM3
51 @@ISA:DOM2
52 @NormalCondition:DOM3
53
54 @Feature:
55 @@Name:BasicEvents
56 @@Version:3.0
57 @@FullName: DOM Level 3 Basic Events
58 @@ImplNote:
59 @@@lang:en
60 @@@@:
61 The support for <Feature:Events>/<FeatureVer:3.0> is required.
62 \
63 Maybe <Feature:UIEvents> is also required.
64 @@Condition[list]:
65 DOM3
66 @@Contrib:
67 DOMCore:DOMImplementation::
68
69 @Require:
70 @@Module:
71 @@@Name: DOMUIEvents
72 @@@FileName:
73 @@@@@: events.idl
74 @@@@For:
75 lang:IDL-DOM
76 @@@Namespace:
77 http://suika.fam.cx/~wakaba/archive/2004/dom/events#
78
79 EventSet:
80 @Event:
81 @@Name:load
82 @@QName:
83 ev:load
84 @@SpecLevel:2
85 @@Description:
86 @@@lang:en
87 @@@@@:
88 The DOM implementation finishes loading the resource (such as
89 document) and any dependent resources (such as images,
90 style sheets).
91 \
92 {NOTE:: Dependent resources that fail to load will not
93 prevent this event from firing if the resoure that
94 loaded them is still accessible via the DOM interfaces.
95 \
96 }
97 \
98 If the document supports the <Feature:HTML>/<FeatureVer:2.0>,
99 this event is generated when the DOM implementation
100 finishes loading all content within the <HE:body> element,
101 all frames within a <HE:frameset> element, or any resource
102 linked from the document.
103 @@ImplNote:
104 @@@lang:en
105 @@@@:
106 The DOM implementation is required to dispatch this event
107 at least on the <IF:Document> node if this event is dispatched.
108 @@Type:
109 DOMEvents:Event
110 @@ImplNote:
111 @@@lang:en
112 @@@@:
113 The event object also implements the <IF:UIEvent> interface
114 if the event is generated from a user interface.
115 @@IsBubbling:0
116 @@IsCancalable:0
117 @@EventTarget:
118 @@@Type:
119 DOMCore:Node
120 @@@Description:
121 @@@@lang:en
122 @@@@@:
123 <IF:Document> or <IF:Element> node.
124 \
125 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
126 feature, the event target type is either <IF:HTMLDocument>,
127 <IF:HTMLBodyElement>, <IF:HTMLFrameSetElement>,
128 <IF:HTMLObjectElement>, <IF:HTMLLinkElement>,
129 <IF:HTMLMetaElement>, <IF:HTMLScriptElement>,
130 <IF:HTMLFrameElement>, <IF:HTMLIFrameElement>,
131 <IF:HTMLImageElement>.
132 @@ContextInfo:
133 @@@Attr:
134 @@@@IF:
135 DOMUIEvents:UIEvent
136 @@@@Name:view
137 @@@@Description:
138 @@@@@lang:en
139 @@@@@@:
140 The view, if any, from which the event is generated.
141 @@@@SpecLevel:3
142 @Event:
143 @@Name:unload
144 @@QName:
145 ev:unload
146 @@Description:
147 @@@lang:en
148 @@@@:
149 The DOM implementation removes from the environment
150 the resource (such as document) or any dependent resources
151 (such as images, style sheets).
152 \
153 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
154 feature, this event is generated when the DOM implementation
155 removes a document from a window or frame. This event is
156 valid for <HE:body> or <HE:frameset> elements.
157 @@ActionAfter:
158 @@@Description:
159 @@@@lang:en
160 @@@@@:
161 The document is unloaded.
162 @@ImplNote:
163 @@@lang:en
164 @@@@:
165 The DOM implementation is required to dispatch this event
166 at least on the <IF:Document> node if this event is dispatched.
167 @@Type:
168 DOMEvents:Event
169 @@ImplNote:
170 @@@lang:en
171 @@@@:
172 The event object also implements the <IF:UIEvent> interface
173 if the event is generated from a user interface.
174 @@IsBubbling:0
175 @@IsCancalable:0
176 @@EventTarget:
177 @@@Type:
178 DOMCore:Node
179 @@@Description:
180 @@@@lang:en
181 @@@@@:
182 <IF:Document> or <IF:Element> node.
183 \
184 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
185 feature, the event target type is either <IF:HTMLDocument>,
186 <IF:HTMLBodyElement> or <IF:HTMLFrameSetElement>.
187 @@ContextInfo:
188 @@@Attr:
189 @@@@IF:
190 DOMUIEvents:UIEvent
191 @@@@Name:view
192 @@@@Description:
193 @@@@@lang:en
194 @@@@@@:
195 The view, if any, from which the event is generated.
196 @@@@SpecLevel:3
197 @@SpecLevel:2
198 @Event:
199 @@Name:abort
200 @@QName:
201 ev:abort
202 @@SpecLevel:2
203 @@Description:
204 @@@lang:en
205 @@@@:
206 The loading of the document, or a resource linked from it,
207 is stopped before being entirely loaded.
208 \
209 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
210 feature, this event is generated when the page loading
211 is stopped before an image has been allowed to completely
212 load. This event applies to <HE:object> elements.
213 @@Type:
214 DOMEvents:Event
215 @@ImplNote:
216 @@@lang:en
217 @@@@:
218 The event object also implements the <IF:UIEvent> interface
219 if the event is generated from a user interface.
220 @@IsBubbling:1
221 @@IsCancalable:0
222 @@EventTarget:
223 @@@Type:
224 DOMCore:Element
225 @@@Description:
226 @@@@lang:en
227 @@@@@:
228 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
229 feature, the event target type is <IF:HTMLObjectElement>.
230 @@ContextInfo:
231 @@@Attr:
232 @@@@IF:
233 DOMUIEvents:UIEvent
234 @@@@Name:view
235 @@@@Description:
236 @@@@@lang:en
237 @@@@@@:
238 The view, if any, from which the event is generated.
239 @@@@SpecLevel:3
240 @Event:
241 @@Name:error
242 @@QName:
243 ev:error
244 @@SpecLevel:2
245 @@Description:
246 @@@lang:en
247 @@@@:
248 The document, or a resource linked from it,
249 has been loaded but cannot be interpreted accordint to
250 its semantic.
251 \
252 {eg:
253 \
254 - A resource is invalid as an image.
255 \
256 - A script execution error occured.
257 \
258 - An XML document is not well-formed.
259 \
260 }
261 \
262 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
263 feature, this event is generated when an image does not
264 load properly or when an error occurs during script
265 execution. This event is valid for <HE:object>,
266 <HE:body> and <HE:frameset> elements.
267 @@Type:
268 DOMEvents:Event
269 @@ImplNote:
270 @@@lang:en
271 @@@@:
272 The event object also implements the <IF:UIEvent> interface
273 if the event is generated from a user interface.
274 @@IsBubbling:1
275 @@IsCancalable:0
276 @@EventTarget:
277 @@@Type:
278 DOMCore:Element
279 @@@Description:
280 @@@@lang:en
281 @@@@@:
282 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
283 feature, the event target type is either <IF:HTMLObjectElement>,
284 <IF:HTMLBodyElement> or <IF:HTMLFrameSetElement>.
285 @@ContextInfo:
286 @@@Attr:
287 @@@@IF:
288 DOMUIEvents:UIEvent
289 @@@@Name:view
290 @@@@Description:
291 @@@@@lang:en
292 @@@@@@:
293 The view, if any, from which the event is generated.
294 @@@@SpecLevel:3
295 @Event:
296 @@Name:select
297 @@QName:
298 ev:select
299 @@SpecLevel:2
300 @@Description:
301 @@@lang:en
302 @@@@:
303 A user selects some text.
304 \
305 {NOTE:: DOM Level 3 Events does not provides contextual information
306 to access the selected text.
307 \
308 }
309 \
310 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
311 feature, this event is generated when the user selects text
312 in a text field either via the user interface or via
313 DOM Level 2 HTML attributes. This event is valid for
314 <HE:input> and <HE:textarea> elements.
315 @@ActionBefore:
316 @@@Description:
317 @@@@lang:en
318 @@@@@:
319 The selection occured.
320 @@Type:
321 DOMEvents:Event
322 @@ImplNote:
323 @@@lang:en
324 @@@@:
325 The event object also implements the <IF:UIEvent> interface
326 if the event is generated from a user interface.
327 @@IsBubbling:1
328 @@IsCancalable:0
329 @@EventTarget:
330 @@@Type:
331 DOMCore:Element
332 @@@Description:
333 @@@@lang:en
334 @@@@@:
335 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
336 feature, the event target type is either <IF:HTMLInputElement>
337 or <IF:HTMLTextAreaElement>.
338 @@ContextInfo:
339 @@@Attr:
340 @@@@IF:
341 DOMUIEvents:UIEvent
342 @@@@Name:view
343 @@@@Description:
344 @@@@@lang:en
345 @@@@@@:
346 The view, if any, from which the event is generated.
347 @@@@SpecLevel:3
348 @Event:
349 @@Name:change
350 @@QName:
351 ev:change
352 @@SpecLevel:2
353 @@Description:
354 @@@lang:en
355 @@@@:
356 A control loses the input focus and its value has been
357 modified since gaining focus.
358 \
359 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
360 feature, this event can occur either via a user interface
361 manipulation or the <M:focus> method and other DOM Level 2
362 HTML attributes. This event is valid for <HE:input>,
363 <HE:select> and <HE:textarea> elements.
364 @@Type:
365 DOMEvents:Event
366 @@ImplNote:
367 @@@lang:en
368 @@@@:
369 The event object also implements the <IF:UIEvent> interface
370 if the event is generated from a user interface.
371 @@IsBubbling:1
372 @@IsCancalable:0
373 @@EventTarget:
374 @@@Type:
375 DOMCore:Element
376 @@@Description:
377 @@@@lang:en
378 @@@@@:
379 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
380 feature, the event target type is either <IF:HTMLInputElement>,
381 <IF:HTMLSelectElement> or <IF:HTMLTextAreaElement>.
382 @@ContextInfo:
383 @@@Attr:
384 @@@@IF:
385 DOMUIEvents:UIEvent
386 @@@@Name:view
387 @@@@Description:
388 @@@@@lang:en
389 @@@@@@:
390 The view, if any, from which the event is generated.
391 @@@@SpecLevel:3
392 @Event:
393 @@Name:submit
394 @@QName:
395 ev:submit
396 @@SpecLevel:2
397 @@Description:
398 @@@lang:en
399 @@@@:
400 A form is submitted.
401 \
402 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
403 feature, this event is generated when a form is submitted
404 via a button. This event only applies the <HE:form> element.
405 \
406 {NOTE:: The <M:HTMLFormEelement.submit> method does not
407 fire this event type.
408 \
409 }
410 @@ImplNote:
411 @@@lang:en
412 @@@@:
413 Some HTML UA fires the HTML <HTML:onsubmit> event not only
414 via the button but also any other user action including
415 a push of <KEY:Enter> key during the focus being in the
416 single-line text field.
417 @@Type:
418 DOMEvents:Event
419 @@ImplNote:
420 @@@lang:en
421 @@@@:
422 The event object also implements the <IF:UIEvent> interface
423 if the event is generated from a user interface.
424 @@IsBubbling:1
425 @@IsCancalable:1
426 @@EventTarget:
427 @@@Type:
428 DOMCore:Element
429 @@@Description:
430 @@@@lang:en
431 @@@@@:
432 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
433 feature, the event target type is <IF:HTMLFormElement>.
434 @@ContextInfo:
435 @@@Attr:
436 @@@@IF:
437 DOMUIEvents:UIEvent
438 @@@@Name:view
439 @@@@Description:
440 @@@@@lang:en
441 @@@@@@:
442 The view, if any, from which the event is generated.
443 @@@@SpecLevel:3
444 @Event:
445 @@Name:reset
446 @@QName:
447 ev:reset
448 @@SpecLevel:2
449 @@Description:
450 @@@lang:en
451 @@@@:
452 A form is reset.
453 \
454 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
455 feature, this event is generated when a form is reset via
456 a button or the <M:HTMLFormElement.reset> method is called.
457 This event only applies to <HE:form> elements.
458 @@Type:
459 DOMEvents:Event
460 @@ImplNote:
461 @@@lang:en
462 @@@@:
463 The event object also implements the <IF:UIEvent> interface
464 if the event is generated from a user interface.
465 @@IsBubbling:1
466 @@IsCancalable:1
467 @@EventTarget:
468 @@@Type:
469 DOMCore:Element
470 @@@Description:
471 @@@@lang:en
472 @@@@@:
473 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
474 feature, the event target type is <IF:HTMLFormElement>.
475 @@@ImplNote:
476 @@@@lang:en
477 @@@@@:
478 <HE:fieldset> elements are also able to be reset in HTML 4.
479 @@ContextInfo:
480 @@@Attr:
481 @@@@IF:
482 DOMUIEvents:UIEvent
483 @@@@Name:view
484 @@@@Description:
485 @@@@@lang:en
486 @@@@@@:
487 The view, if any, from which the event is generated.
488 @@@@SpecLevel:3
489 @Event:
490 @@Name:resize
491 @@QName:
492 ev:resize
493 @@SpecLevel:
494 2
495 3
496 @@Description:
497 @@@lang:en
498 @@@@@:
499 A document view or an element has been resized.
500 @@ActionBefore:
501 @@@Description:
502 @@@@lang:en
503 @@@@@:
504 The resize occurred.
505 @@Type:
506 DOMUIEvents:UIEvent
507 @@ImplNote:
508 @@@lang:en
509 @@@@:
510 The type was <IF:Event> in DOM Level 2.
511 @@IsBubbling:1
512 @@IsCancalable:0
513 @@EventTarget:
514 @@@Type:
515 DOMCore:Node
516 @@@Description:
517 @@@@lang:en
518 @@@@@:
519 <IF:Document> or <IF:Element> node.
520 \
521 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
522 feature, the event target type is either <IF:HTMLDocument>
523 or <IF:HTMLElement>.
524 @@ContextInfo:
525 @@@Attr:
526 @@@@IF:
527 DOMUIEvents:UIEvent
528 @@@@Name:view
529 @@@@Description:
530 @@@@@lang:en
531 @@@@@@:
532 The view from which the event is generated.
533 @@@@SpecLevel:3
534 @Event:
535 @@Name:scroll
536 @@QName:
537 ev:scroll
538 @@SpecLevel:
539 2
540 3
541 @@Description:
542 @@@lang:en
543 @@@@:
544 A document view or an element has been scrolled.
545 @@ActionBefore:
546 @@@Description:
547 @@@@lang:en
548 @@@@@:
549 The scroll occurred.
550 @@Type:
551 DOMUIEvents:UIEvent
552 @@ImplNote:
553 @@@lang:en
554 @@@@:
555 The type was <IF:Event> in DOM Level 2.
556 @@IsBubbling:1
557 @@IsCancalable:0
558 @@EventTarget:
559 @@@Type:
560 DOMCore:Node
561 @@@Description:
562 @@@@lang:en
563 @@@@@:
564 <IF:Document> or <IF:Element> node.
565 \
566 If the document supports the <Feature:HTML>/<FeatureVer:2.0>
567 feature, the event target type is either <IF:HTMLDocument>
568 or <IF:HTMLElement>.
569 @@ContextInfo:
570 @@@Attr:
571 @@@@IF:
572 DOMUIEvents:UIEvent
573 @@@@Name:view
574 @@@@Description:
575 @@@@@lang:en
576 @@@@@@:
577 The view from which the event is generated.
578 @@@@SpecLevel:3
579 ##EventSet
580
581 ## DOMBasicEvents.dis ends here

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24