File: EventCapturer.xml

package info (click to toggle)
gmetadom 0.2.6-6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,548 kB
  • sloc: sh: 8,767; xml: 3,772; cpp: 3,129; ansic: 2,695; ml: 959; makefile: 907
file content (70 lines) | stat: -rw-r--r-- 2,056 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: EventCapturer.xml,v 1.1.1.1 2001/11/26 22:34:23 lpadovan Exp $ -->
<!-- Event interface -->

  <interface name="EventCapturer" id="Events-EventCapturer"
      since="DOM Level 2">
    <descr>
    <p>The <code>EventCapturer</code> interface is implemented by <code>Node</code>'s which are
	designated as being able to capture events.
    </p>
    </descr>

    <method name="captureEvent" id="Events-EventCapturer-captureEvent">
     <descr>
     <p>This method is used when a capturing <code>Node</code> wishes to begin
	 capturing a particular type of event. 
     </p>
     </descr>
     <parameters>
      <param name="type" type="DOMString" attr="in">
	  <descr><p>The name of the event to be captured</p></descr>
      </param>
     </parameters>
     <returns type="void">
       <descr><p></p></descr>
     </returns>
     <raises>
      <!-- No exceptions -->
     </raises>
    </method>

    <method name="releaseEvent" id="Events-EventCapturer-releaseEvent">
     <descr>
     <p>This method is used when a capturing <code>Node</code> wishes to cease
	 capturing a particular type of event.
     </p>
     </descr>
     <parameters>
      <param name="type" type="DOMString" attr="in">
	  <descr><p>The name of the event to be released</p></descr>
      </param>
     </parameters>
     <returns type="void">
       <descr><p></p></descr>
     </returns>
     <raises>
      <!-- No exceptions -->
     </raises>
    </method>

    <method name="routeEvent" id="Events-EventCapturer-routeEvent">
     <descr>
     <p>This method is called during the handling of an event by a capturing <code>
	 Node</code> to continue the event's flow to additional event handlers, or if none
	 are present, to the event's target. 
     </p>
     </descr>
     <parameters>
	 </parameters>
     <returns type="void">
       <descr><p></p></descr>
     </returns>
     <raises>
      <!-- Need an exception for when method is called outside of an event listener -->
     </raises>
    </method>

  </interface>