--- a/html/DOM3-Events.html Thu Mar 27 03:20:46 2008 +0900
+++ b/html/DOM3-Events.html Thu Jun 19 03:30:24 2008 +0900
@@ -112,8 +112,8 @@
<li class='tocline4'><a class='tocxref' href='#events-Events-TextEvents-Interfaces'>1.7.2 Text events types</a></li>
<li class='tocline4'><a class='tocxref' href='#events-Events-KeyboardEvents-Interfaces'>1.7.3 Keyboard event types</a></li>
<li class='tocline4'><a class='tocxref' href='#events-Events-eventgroupings-mouseevents'>1.7.4 Mouse event types</a></li>
-<li class='tocline4'><a class='tocxref' href='#events-Events-eventgroupings-mousemultiwheelevents'>1.7.5 Mouse multi wheel event types</a></li>
-<li class='tocline4'><a class='tocxref' href='#events-Events-eventgroupings-mousewheelevents'>1.7.6 Mouse wheel event types</a></li>
+<li class='tocline4'><a class='tocxref' href='#events-Events-eventgroupings-mousewheelevents'>1.7.5 Mouse wheel event types</a></li>
+<li class='tocline4'><a class='tocxref' href='#events-Events-eventgroupings-wheelevents'>1.7.6 Wheel event types</a></li>
<li class='tocline4'><a class='tocxref' href='#events-Events-eventgroupings-mutationevents'>1.7.7 Mutation event types</a></li>
<li class='tocline4'><a class='tocxref' href='#events-Events-eventgroupings-mutationnameevents'>1.7.8 Mutation name event types</a></li>
<li class='tocline4'><a class='tocxref' href='#events-Events-eventgroupings-basicevents'>1.7.9 Basic event types</a></li>
@@ -284,14 +284,14 @@
<li class='tocline5'><a href='#events-Events-MouseEvent'>MouseEvent</a></li>
</ul>
</li>
-<li class='tocline4'><a class='tocxref' href='#events-Events-eventgroupings-mousemultiwheelevents'>1.7.5 Mouse multi wheel event types</a>
+<li class='tocline4'><a class='tocxref' href='#events-Events-eventgroupings-mousewheelevents'>1.7.5 Mouse wheel event types</a>
<ul>
-<li class='tocline5'><a href='#events-Events-MouseMultiWheelEvent'>MouseMultiWheelEvent</a></li>
+<li class='tocline5'><a href='#events-Events-MouseWheelEvent'>MouseWheelEvent</a></li>
</ul>
</li>
-<li class='tocline4'><a class='tocxref' href='#events-Events-eventgroupings-mousewheelevents'>1.7.6 Mouse wheel event types</a>
+<li class='tocline4'><a class='tocxref' href='#events-Events-eventgroupings-wheelevents'>1.7.6 Wheel event types</a>
<ul>
-<li class='tocline5'><a href='#events-Events-MouseWheelEvent'>MouseWheelEvent</a></li>
+<li class='tocline5'><a href='#events-Events-WheelEvent'>WheelEvent</a></li>
</ul>
</li>
<li class='tocline4'><a class='tocxref' href='#events-Events-eventgroupings-mutationevents'>1.7.7 Mutation event types</a>
@@ -489,11 +489,11 @@
<td valign='top' rowspan='1' colspan='1'><a href='#events-Events-KeyboardEvent'><code>KeyboardEvent</code></a></td>
</tr>
<tr>
-<td valign='top' rowspan='1' colspan='1'><a href='#events-event-mousemultiwheel'>mousemultiwheel</a></td>
+<td valign='top' rowspan='1' colspan='1'><a href='#events-event-wheel'>wheel</a></td>
<td valign='top' rowspan='1' colspan='1'>Yes</td>
<td valign='top' rowspan='1' colspan='1'>Yes</td>
<td valign='top' rowspan='1' colspan='1'><code>Document</code>, <code>Element</code></td>
-<td valign='top' rowspan='1' colspan='1'><a href='#events-Events-MouseMultiWheelEvent'><code>MouseMultiWheelEvent</code></a></td>
+<td valign='top' rowspan='1' colspan='1'><a href='#events-Events-WheelEvent'><code>WheelEvent</code></a></td>
</tr>
<tr>
<td valign='top' rowspan='1' colspan='1'><a href='#events-event-mousewheel'>mousewheel</a></td>
@@ -503,6 +503,13 @@
<td valign='top' rowspan='1' colspan='1'><a href='#events-Events-MouseWheelEvent'><code>MouseWheelEvent</code></a></td>
</tr>
<tr>
+<td valign='top' rowspan='1' colspan='1'><a href='#events-event-wheel'>wheel</a></td>
+<td valign='top' rowspan='1' colspan='1'>Yes</td>
+<td valign='top' rowspan='1' colspan='1'>Yes</td>
+<td valign='top' rowspan='1' colspan='1'><code>Document</code>, <code>Element</code></td>
+<td valign='top' rowspan='1' colspan='1'><a href='#events-Events-WheelEvent'><code>WheelEvent</code></a></td>
+</tr>
+<tr>
<td valign='top' rowspan='1' colspan='1'><a href='#events-event-DOMSubtreeModified'>DOMSubtreeModified</a></td>
<td valign='top' rowspan='1' colspan='1'>Yes</td>
<td valign='top' rowspan='1' colspan='1'>No</td>
@@ -2405,154 +2412,15 @@
</dl>
</div>
</div>
-<!-- div3 Events-eventgroupings-mouseevents -->
-<div class='div3'><a name='events-Events-eventgroupings-mousemultiwheelevents' id='events-Events-eventgroupings-mousemultiwheelevents'></a>
-<h3 id='events-Events-eventgroupings-mousemultiwheelevents-h3' class='div3'>1.7.5 Mouse multi wheel event types</h3>
-<p>This module defines the feature MouseMultiWheelEvents 3.0 and depends on the feature MouseEvents 3.0.</p>
-<p>Multi wheels are devices that can be rotated in one or more spatial dimensions. The coordinate system depends on the environment configuration. As an example, the environment may be configured to associate vertical scrolling with rotation along the y-axis, horizontal scrolling with rotation along the x-axis, and zooming with rotation along the z-axis. The delta attributes of <a href='#events-Events-MouseMultiWheelEvent'><code>MouseMultiWheelEvent</code></a> objects indicate the distance of the rotation. The measurement unit depends on the environment configuration. The sign of the delta value should indicate the direction of the rotation.</p>
-<dl>
-<dt><b>Interface <i><a name='events-Events-MouseMultiWheelEvent' id='events-Events-MouseMultiWheelEvent'>MouseMultiWheelEvent</a></i></b> (introduced in <b class='since'>DOM Level 3</b>)</dt>
-<dd>
-<p>The <code>MouseMultiWheelEvent</code> interface provides specific contextual information associated with mouse multi wheel events.</p>
-<p>To create an instance of the <code>MouseMultiWheelEvent</code> interface, use the <a href='#events-Events-DocumentEvent-createEvent'><code>DocumentEvent.createEvent("MouseMultiWheelEvent")</code></a> method call.</p>
-<dl>
-<dt><br />
-<b>IDL Definition</b></dt>
-<dd>
-<div class='idl-code'>
-<pre>
-// Introduced in DOM Level 3:
-interface <a class='noxref' href='#events-Events-MouseMultiWheelEvent'>MouseMultiWheelEvent</a> : <a class='noxref' href='#events-Events-MouseEvent'>MouseEvent</a> {
- readonly attribute long <a class='noxref' href='#events-Events-MouseMultiWheelEvent-wheelDeltaX'>wheelDeltaX</a>;
- readonly attribute long <a class='noxref' href='#events-Events-MouseMultiWheelEvent-wheelDeltaY'>wheelDeltaY</a>;
- readonly attribute long <a class='noxref' href='#events-Events-MouseMultiWheelEvent-wheelDeltaZ'>wheelDeltaZ</a>;
- void <a class='noxref' href='#events-Events-Event-initMouseMultiWheelEventNS'>initMouseMultiWheelEventNS</a>(in DOMString namespaceURIArg,
- in DOMString typeArg,
- in boolean canBubbleArg,
- in boolean cancelableArg,
- in views::AbstractView viewArg,
- in long detailArg,
- in long screenXArg,
- in long screenYArg,
- in long clientXArg,
- in long clientYArg,
- in unsigned short buttonArg,
- in <a class='noxref' href='#events-Events-EventTarget'>EventTarget</a> relatedTargetArg,
- in DOMString modifiersListArg,
- in long wheelDeltaXArg,
- in long wheelDeltaYArg,
- in long wheelDeltaZArg);
-};
-</pre></div>
-<br /></dd>
-<dt><b>Attributes</b></dt>
-<dd>
-<dl>
-<dt><code class='attribute-name'><a name='events-Events-MouseMultiWheelEvent-wheelDeltaX' id='events-Events-MouseMultiWheelEvent-wheelDeltaX'>wheelDeltaX</a></code> of type <code>long</code>, readonly</dt>
-<dd>The distance the wheel has rotated around the x-axis.<br /></dd>
-<dt><code class='attribute-name'><a name='events-Events-MouseMultiWheelEvent-wheelDeltaY' id='events-Events-MouseMultiWheelEvent-wheelDeltaY'>wheelDeltaY</a></code> of type <code>long</code>, readonly</dt>
-<dd>The distance the wheel has rotated around the y-axis.<br /></dd>
-<dt><code class='attribute-name'><a name='events-Events-MouseMultiWheelEvent-wheelDeltaZ' id='events-Events-MouseMultiWheelEvent-wheelDeltaZ'>wheelDeltaZ</a></code> of type <code>long</code>, readonly</dt>
-<dd>The distance the wheel has rotated around the z-axis.<br /></dd>
-</dl>
-</dd>
-<dt><b>Methods</b></dt>
-<dd>
-<dl>
-<dt><code class='method-name'><a name='events-Events-Event-initMouseMultiWheelEventNS' id='events-Events-Event-initMouseMultiWheelEventNS'>initMouseMultiWheelEventNS</a></code></dt>
-<dd>
-<div class='method'>Initializes attributes of a <code>MouseMultiWheelEvent</code> object. This method has the same behavior as <a href='#events-Events-Event-initMouseEventNS'><code>MouseEvent.initMouseEventNS()</code></a>.
-<div class='parameters'><b>Parameters</b>
-<div class='paramtable'>
-<dl>
-<dt><code class='parameter-name'>namespaceURIArg</code> of type <code>DOMString</code></dt>
-<dd>Refer to the <a href='#events-Events-Event-initUIEventNS'><code>UIEvent.initUIEventNS()</code></a> method for a description of this parameter.<br /></dd>
-<dt><code class='parameter-name'>typeArg</code> of type <code>DOMString</code></dt>
-<dd>Refer to the <a href='#events-Events-Event-initUIEventNS'><code>UIEvent.initUIEventNS()</code></a> method for a description of this parameter.<br /></dd>
-<dt><code class='parameter-name'>canBubbleArg</code> of type <code>boolean</code></dt>
-<dd>Refer to the <a href='#events-Events-Event-initUIEventNS'><code>UIEvent.initUIEventNS()</code></a> method for a description of this parameter.<br /></dd>
-<dt><code class='parameter-name'>cancelableArg</code> of type <code>boolean</code></dt>
-<dd>Refer to the <a href='#events-Events-Event-initUIEventNS'><code>UIEvent.initUIEventNS()</code></a> method for a description of this parameter.<br /></dd>
-<dt><code class='parameter-name'>viewArg</code> of type <code>views::AbstractView</code></dt>
-<dd>Refer to the <a href='#events-Events-Event-initUIEventNS'><code>UIEvent.initUIEventNS()</code></a> method for a description of this parameter.<br /></dd>
-<dt><code class='parameter-name'>detailArg</code> of type <code>long</code></dt>
-<dd>Refer to the <a href='#events-Events-Event-initUIEventNS'><code>UIEvent.initUIEventNS()</code></a> method for a description of this parameter.<br /></dd>
-<dt><code class='parameter-name'>screenXArg</code> of type <code>long</code></dt>
-<dd>Refer to the <a href='#events-Events-Event-initMouseEventNS'><code>MouseEvent.initMouseEventNS()</code></a> method for a description of this parameter.<br /></dd>
-<dt><code class='parameter-name'>screenYArg</code> of type <code>long</code></dt>
-<dd>Refer to the <a href='#events-Events-Event-initMouseEventNS'><code>MouseEvent.initMouseEventNS()</code></a> method for a description of this parameter.<br /></dd>
-<dt><code class='parameter-name'>clientXArg</code> of type <code>long</code></dt>
-<dd>Refer to the <a href='#events-Events-Event-initMouseEventNS'><code>MouseEvent.initMouseEventNS()</code></a> method for a description of this parameter.<br /></dd>
-<dt><code class='parameter-name'>clientYArg</code> of type <code>long</code></dt>
-<dd>Refer to the <a href='#events-Events-Event-initMouseEventNS'><code>MouseEvent.initMouseEventNS()</code></a> method for a description of this parameter.<br /></dd>
-<dt><code class='parameter-name'>buttonArg</code> of type <code>unsigned short</code></dt>
-<dd>Refer to the <a href='#events-Events-Event-initMouseEventNS'><code>MouseEvent.initMouseEventNS()</code></a> method for a description of this parameter.<br /></dd>
-<dt><code class='parameter-name'>relatedTargetArg</code> of type <a href='#events-Events-EventTarget'><code>EventTarget</code></a></dt>
-<dd>Refer to the <a href='#events-Events-Event-initMouseEventNS'><code>MouseEvent.initMouseEventNS()</code></a> method for a description of this parameter.<br /></dd>
-<dt><code class='parameter-name'>modifiersListArg</code> of type <code>DOMString</code></dt>
-<dd>Refer to the <a href='#events-Events-Event-initMouseEventNS'><code>MouseEvent.initMouseEventNS()</code></a> method for a description of this parameter.<br /></dd>
-<dt><code class='parameter-name'>wheelDeltaXArg</code> of type <code>long</code></dt>
-<dd>Specifies <a href='#events-Events-MouseMultiWheelEvent-wheelDeltaX'><code>MouseMultiWheelEvent.wheelDeltaX</code></a>.<br /></dd>
-<dt><code class='parameter-name'>wheelDeltaYArg</code> of type <code>long</code></dt>
-<dd>Specifies <a href='#events-Events-MouseMultiWheelEvent-wheelDeltaY'><code>MouseMultiWheelEvent.wheelDeltaY</code></a>.<br /></dd>
-<dt><code class='parameter-name'>wheelDeltaZArg</code> of type <code>long</code></dt>
-<dd>Specifies <a href='#events-Events-MouseMultiWheelEvent-wheelDeltaZ'><code>MouseMultiWheelEvent.wheelDeltaZ</code></a>.<br /></dd>
-</dl>
-</div>
-</div>
-<!-- parameters -->
-<div><b>No Return Value</b></div>
-<div><b>No Exceptions</b></div>
-</div>
-<!-- method --></dd>
-</dl>
-</dd>
-</dl>
-</dd>
-</dl>
-<div class='event-definition'>
-<dl>
-<dt><a name='events-event-mousemultiwheel' id='events-event-mousemultiwheel'></a><a class='noxref' href='#events-event-mousemultiwheel'>mousemultiwheel</a></dt>
-<dd>
-<table border='0' summary='This table contains information about the semantics of the given event type' cellpadding='2' cellspacing='0'>
-<tr>
-<th rowspan='1' colspan='1'>Type</th>
-<td bgcolor='#CFCFCF' rowspan='1' colspan='1'><b><code>mousemultiwheel</code></b></td>
-</tr>
-<tr>
-<th rowspan='1' colspan='1'>Namespace</th>
-<td valign='top' rowspan='1' colspan='1'><code>None</code></td>
-</tr>
-<tr>
-<th rowspan='1' colspan='1'>Interface</th>
-<td valign='top' rowspan='1' colspan='1'><a href='#events-Events-MouseMultiWheelEvent'><code>MouseMultiWheelEvent</code></a></td>
-</tr>
-<tr>
-<th rowspan='1' colspan='1'>Cancelable</th>
-<td valign='top' rowspan='1' colspan='1'>Yes</td>
-</tr>
-<tr>
-<th rowspan='1' colspan='1'>Bubbles</th>
-<td valign='top' rowspan='1' colspan='1'>Yes</td>
-</tr>
-<tr>
-<th rowspan='1' colspan='1'>Target</th>
-<td valign='top' rowspan='1' colspan='1'><code>Document</code>, <code>Element</code></td>
-</tr>
-<tr>
-<th rowspan='1' colspan='1'>Context info</th>
-<td valign='top' rowspan='1' colspan='1'><a href='#events-Events-MouseMultiWheelEvent-wheelDeltaX'><code>MouseMultiWheelEvent.wheelDeltaX</code></a>, <a href='#events-Events-MouseMultiWheelEvent-wheelDeltaY'><code>MouseMultiWheelEvent.wheelDeltaY</code></a>, <a href='#events-Events-MouseMultiWheelEvent-wheelDeltaZ'><code>MouseMultiWheelEvent.wheelDeltaZ</code></a>, <a href='#events-Events-MouseEvent-altKey'><code>MouseEvent.altKey</code></a>, <a href='#events-Events-MouseEvent-ctrlKey'><code>MouseEvent.ctrlKey</code></a>, <a href='#events-Events-MouseEvent-shiftKey'><code>MouseEvent.shiftKey</code></a>, <a href='#events-Events-MouseEvent-metaKey'><code>MouseEvent.metaKey</code></a>, and <a href='#events-Events-UIEvent-view'><code>UIEvent.view</code></a> are in use. <a href='#events-Events-MouseEvent-screenX'><code>MouseEvent.screenX</code></a>, <a href='#events-Events-MouseEvent-screenY'><code>MouseEvent.screenY</code></a>, <a href='#events-Events-MouseEvent-clientX'><code>MouseEvent.clientX</code></a>, <a href='#events-Events-MouseEvent-clientY'><code>MouseEvent.clientY</code></a>, and <a href='#events-Events-MouseEvent-button'><code>MouseEvent.button</code></a> are in use if the wheel is associated to a pointing device. <a href='#events-Events-MouseEvent-relatedTarget'><code>MouseEvent.relatedTarget</code></a> indicates the <a href='#glossary-dt-event-target'>event target</a> the pointing device is pointing at, if any. <a href='#events-Events-UIEvent-detail'><code>UIEvent.detail</code></a> is not in use.</td>
-</tr>
-</table>
-A mouse wheel has been rotated. A default action of user agent generated event objects of this type causes implementations to dispatch a <code>mousewheel</code> event iff it supports that event type and <a href='#events-Events-MouseMultiWheelEvent-wheelDeltaY'><code>MouseMultiWheelEvent.wheelDeltaY</code></a> is non-zero.</dd>
-</dl>
-</div>
-</div>
-<!-- div3 Events-eventgroupings-mousemultiwheelevents -->
+
+<!-- div3 Events-eventgroupings-wheelevents -->
<div class='div3'><a name='events-Events-eventgroupings-mousewheelevents' id='events-Events-eventgroupings-mousewheelevents'></a>
-<h3 id='events-Events-eventgroupings-mousewheelevents-h3' class='div3'>1.7.6 Mouse wheel event types</h3>
+<h3 id='events-Events-eventgroupings-mousewheelevents-h3' class='div3'>1.7.5 Mouse wheel event types</h3>
<p>This module defines the feature MouseWheelEvents 3.0 and depends on the feature MouseEvents 3.0.</p>
-<p>Mouse wheel events are a subset of mouse multi wheel events. See <a href='#events-Events-eventgroupings-mousemultiwheelevents'>Mouse multi wheel event types</a> for additional information.</p>
+<p>Mouse wheel events are included for specification of legacy support, but are deprecated. Authors are encouraged to use <a href='#events-Events-eventgroupings-wheelevents'>Wheel event types</a> instead.</p>
+<!--
+<p>Mouse wheel events are a subset of mouse multi wheel events. See <a href='#events-Events-eventgroupings-wheelevents'>Wheel event types</a> for additional information.</p>
+-->
<dl>
<dt><b>Interface <i><a name='events-Events-MouseWheelEvent' id='events-Events-MouseWheelEvent'>MouseWheelEvent</a></i></b> (introduced in <b class='since'>DOM Level 3</b>)</dt>
<dd>
@@ -2680,6 +2548,168 @@
</div>
</div>
<!-- div3 Events-eventgroupings-mousewheelevents -->
+
+
+
+<!-- div3 Events-eventgroupings-mouseevents -->
+<div class='div3'><a name='events-Events-eventgroupings-wheelevents' id='events-Events-eventgroupings-wheelevents'></a>
+<h3 id='events-Events-eventgroupings-wheelevents-h3' class='div3'>1.7.6 Wheel event types</h3>
+<p>This module defines the feature WheelEvents 3.0 and depends on the feature MouseEvents 3.0.</p>
+<p>Wheels are devices that can be rotated in one or more spatial dimensions, and which may or may not be associated with a pointer device. The coordinate system depends on the environment configuration. As an example, the environment may be configured to associate vertical scrolling with rotation along the y-axis, horizontal scrolling with rotation along the x-axis, and zooming with rotation along the z-axis. The deltax, deltaY, and deltaX attributes of <a href='#events-Events-WheelEvent'><code>WheelEvent</code></a> objects indicate the distance of the rotation, as specified in the <a class='def-term' href='events-Events-WheelEvent-delta'>delta</a> definition. <!--The delta attributes of <a href='#events-Events-WheelEvent'><code>WheelEvent</code></a> objects indicate the distance of the rotation. The measurement unit depends on the environment configuration. The sign of the delta value should indicate the direction of the rotation.--></p>
+
+<dl>
+<dt><code class='def-term' id='events-Events-WheelEvent-delta'>delta</code></dt>
+<dd><p>The distance the wheel has rotated around the its axis.</p>
+ <p>The value of a <a class='def-term' href='events-Events-WheelEvent-delta'>delta</a> is a floating-point number indicating a distance, measured as the number of <a class='def-term' href='events-Events-WheelEvent-roll'>rolls</a> the wheel has been <a class='def-term' href='events-Events-WheelEvent-rotation'>rotated</a>. A positive value shall indicate that the wheel has been <a class='def-term' href='events-Events-WheelEvent-rotation'>rotated</a> away from the user on vertically-aligned devices or in a left-hand manner on horizontally aligned devices, and a negative value shall indicate that the wheel has been <a class='def-term' href='events-Events-WheelEvent-rotation'>rotated</a> towards the user on vertically-aligned devices or in a right-hand manner on horizontally-aligned devices. The default value of a delta attribute shall be 0.</p>
+</dd>
+<dt><code class='def-term' id='events-Events-WheelEvent-roll'>roll</code></dt>
+<dd>A unit of <a class='def-term' href='events-Events-WheelEvent-rotation'>rotation</a> for a device using the <a href='events-Events-eventgroupings-wheelevents'>WheelEvent</a> interface. On some devices this is a finite physical step. On devices with smooth <a class='def-term' href='events-Events-WheelEvent-rotation'>rotation</a>, a <code class='def-term' href='events-Events-WheelEvent-roll'>roll</code> becomes the smallest reported amount of <a class='def-term' href='events-Events-WheelEvent-rotation'>rotation</a>.</dd>
+<dt><code class='def-term' id='events-Events-WheelEvent-rotation'>rotation</code></dt>
+<dd>An indication of incremental change. On some devices this is a literal rotation of a wheel, while on others, it may be
+movement along a flat surface, or pressure on a particular button.</dd>
+</dl>
+
+<dl>
+<dt><b>Interface <i><a name='events-Events-WheelEvent' id='events-Events-WheelEvent'>WheelEvent</a></i></b> (introduced in <b class='since'>DOM Level 3</b>)</dt>
+<dd>
+<p>The <code>WheelEvent</code> interface provides specific contextual information associated with mouse multi wheel events.</p>
+<p>To create an instance of the <code>WheelEvent</code> interface, use the <a href='#events-Events-DocumentEvent-createEvent'><code>DocumentEvent.createEvent("WheelEvent")</code></a> method call.</p>
+<dl>
+<dt><br />
+<b>IDL Definition</b></dt>
+<dd>
+<div class='idl-code'>
+<pre>
+// Introduced in DOM Level 3:
+interface <a class='noxref' href='#events-Events-WheelEvent'>WheelEvent</a> : <a class='noxref' href='#events-Events-MouseEvent'>MouseEvent</a> {
+ readonly attribute long <a class='noxref' href='#events-Events-WheelEvent-deltaX'>deltaX</a>;
+ readonly attribute long <a class='noxref' href='#events-Events-WheelEvent-deltaY'>deltaY</a>;
+ readonly attribute long <a class='noxref' href='#events-Events-WheelEvent-deltaZ'>deltaZ</a>;
+ void <a class='noxref' href='#events-Events-Event-initWheelEventNS'>initWheelEventNS</a>(in DOMString namespaceURIArg,
+ in DOMString typeArg,
+ in boolean canBubbleArg,
+ in boolean cancelableArg,
+ in views::AbstractView viewArg,
+ in long detailArg,
+ in long screenXArg,
+ in long screenYArg,
+ in long clientXArg,
+ in long clientYArg,
+ in unsigned short buttonArg,
+ in <a class='noxref' href='#events-Events-EventTarget'>EventTarget</a> relatedTargetArg,
+ in DOMString modifiersListArg,
+ in long deltaXArg,
+ in long deltaYArg,
+ in long deltaZArg);
+};
+</pre></div>
+<br /></dd>
+<dt><b>Attributes</b></dt>
+<dd>
+<dl>
+<dt><code class='attribute-name'><a name='events-Events-WheelEvent-deltaX' id='events-Events-WheelEvent-deltaX'>deltaX</a></code> of type <code>long</code>, readonly</dt>
+<dd>The distance the wheel has rotated around the x-axis.<br /></dd>
+<dt><code class='attribute-name'><a name='events-Events-WheelEvent-deltaY' id='events-Events-WheelEvent-deltaY'>deltaY</a></code> of type <code>long</code>, readonly</dt>
+<dd>The distance the wheel has rotated around the y-axis.<br /></dd>
+<dt><code class='attribute-name'><a name='events-Events-WheelEvent-deltaZ' id='events-Events-WheelEvent-deltaZ'>deltaZ</a></code> of type <code>long</code>, readonly</dt>
+<dd>The distance the wheel has rotated around the z-axis.<br /></dd>
+</dl>
+</dd>
+<dt><b>Methods</b></dt>
+<dd>
+<dl>
+<dt><code class='method-name'><a name='events-Events-Event-initWheelEventNS' id='events-Events-Event-initWheelEventNS'>initWheelEventNS</a></code></dt>
+<dd>
+<div class='method'>Initializes attributes of a <code>WheelEvent</code> object. This method has the same behavior as <a href='#events-Events-Event-initMouseEventNS'><code>MouseEvent.initMouseEventNS()</code></a>.
+<div class='parameters'><b>Parameters</b>
+<div class='paramtable'>
+<dl>
+<dt><code class='parameter-name'>namespaceURIArg</code> of type <code>DOMString</code></dt>
+<dd>Refer to the <a href='#events-Events-Event-initUIEventNS'><code>UIEvent.initUIEventNS()</code></a> method for a description of this parameter.<br /></dd>
+<dt><code class='parameter-name'>typeArg</code> of type <code>DOMString</code></dt>
+<dd>Refer to the <a href='#events-Events-Event-initUIEventNS'><code>UIEvent.initUIEventNS()</code></a> method for a description of this parameter.<br /></dd>
+<dt><code class='parameter-name'>canBubbleArg</code> of type <code>boolean</code></dt>
+<dd>Refer to the <a href='#events-Events-Event-initUIEventNS'><code>UIEvent.initUIEventNS()</code></a> method for a description of this parameter.<br /></dd>
+<dt><code class='parameter-name'>cancelableArg</code> of type <code>boolean</code></dt>
+<dd>Refer to the <a href='#events-Events-Event-initUIEventNS'><code>UIEvent.initUIEventNS()</code></a> method for a description of this parameter.<br /></dd>
+<dt><code class='parameter-name'>viewArg</code> of type <code>views::AbstractView</code></dt>
+<dd>Refer to the <a href='#events-Events-Event-initUIEventNS'><code>UIEvent.initUIEventNS()</code></a> method for a description of this parameter.<br /></dd>
+<dt><code class='parameter-name'>detailArg</code> of type <code>long</code></dt>
+<dd>Refer to the <a href='#events-Events-Event-initUIEventNS'><code>UIEvent.initUIEventNS()</code></a> method for a description of this parameter.<br /></dd>
+<dt><code class='parameter-name'>screenXArg</code> of type <code>long</code></dt>
+<dd>Refer to the <a href='#events-Events-Event-initMouseEventNS'><code>MouseEvent.initMouseEventNS()</code></a> method for a description of this parameter.<br /></dd>
+<dt><code class='parameter-name'>screenYArg</code> of type <code>long</code></dt>
+<dd>Refer to the <a href='#events-Events-Event-initMouseEventNS'><code>MouseEvent.initMouseEventNS()</code></a> method for a description of this parameter.<br /></dd>
+<dt><code class='parameter-name'>clientXArg</code> of type <code>long</code></dt>
+<dd>Refer to the <a href='#events-Events-Event-initMouseEventNS'><code>MouseEvent.initMouseEventNS()</code></a> method for a description of this parameter.<br /></dd>
+<dt><code class='parameter-name'>clientYArg</code> of type <code>long</code></dt>
+<dd>Refer to the <a href='#events-Events-Event-initMouseEventNS'><code>MouseEvent.initMouseEventNS()</code></a> method for a description of this parameter.<br /></dd>
+<dt><code class='parameter-name'>buttonArg</code> of type <code>unsigned short</code></dt>
+<dd>Refer to the <a href='#events-Events-Event-initMouseEventNS'><code>MouseEvent.initMouseEventNS()</code></a> method for a description of this parameter.<br /></dd>
+<dt><code class='parameter-name'>relatedTargetArg</code> of type <a href='#events-Events-EventTarget'><code>EventTarget</code></a></dt>
+<dd>Refer to the <a href='#events-Events-Event-initMouseEventNS'><code>MouseEvent.initMouseEventNS()</code></a> method for a description of this parameter.<br /></dd>
+<dt><code class='parameter-name'>modifiersListArg</code> of type <code>DOMString</code></dt>
+<dd>Refer to the <a href='#events-Events-Event-initMouseEventNS'><code>MouseEvent.initMouseEventNS()</code></a> method for a description of this parameter.<br /></dd>
+<dt><code class='parameter-name'>deltaXArg</code> of type <code>long</code></dt>
+<dd>Specifies <a href='#events-Events-WheelEvent-deltaX'><code>WheelEvent.deltaX</code></a>.<br /></dd>
+<dt><code class='parameter-name'>deltaYArg</code> of type <code>long</code></dt>
+<dd>Specifies <a href='#events-Events-WheelEvent-deltaY'><code>WheelEvent.deltaY</code></a>.<br /></dd>
+<dt><code class='parameter-name'>deltaZArg</code> of type <code>long</code></dt>
+<dd>Specifies <a href='#events-Events-WheelEvent-deltaZ'><code>WheelEvent.deltaZ</code></a>.<br /></dd>
+</dl>
+</div>
+</div>
+<!-- parameters -->
+<div><b>No Return Value</b></div>
+<div><b>No Exceptions</b></div>
+</div>
+<!-- method --></dd>
+</dl>
+</dd>
+</dl>
+</dd>
+</dl>
+<div class='event-definition'>
+<dl>
+<dt><a name='events-event-wheel' id='events-event-wheel'></a><a class='noxref' href='#events-event-wheel'>wheel</a></dt>
+<dd>
+<table border='0' summary='This table contains information about the semantics of the given event type' cellpadding='2' cellspacing='0'>
+<tr>
+<th rowspan='1' colspan='1'>Type</th>
+<td bgcolor='#CFCFCF' rowspan='1' colspan='1'><b><code>wheel</code></b></td>
+</tr>
+<tr>
+<th rowspan='1' colspan='1'>Namespace</th>
+<td valign='top' rowspan='1' colspan='1'><code>None</code></td>
+</tr>
+<tr>
+<th rowspan='1' colspan='1'>Interface</th>
+<td valign='top' rowspan='1' colspan='1'><a href='#events-Events-WheelEvent'><code>WheelEvent</code></a></td>
+</tr>
+<tr>
+<th rowspan='1' colspan='1'>Cancelable</th>
+<td valign='top' rowspan='1' colspan='1'>Yes</td>
+</tr>
+<tr>
+<th rowspan='1' colspan='1'>Bubbles</th>
+<td valign='top' rowspan='1' colspan='1'>Yes</td>
+</tr>
+<tr>
+<th rowspan='1' colspan='1'>Target</th>
+<td valign='top' rowspan='1' colspan='1'><code>Document</code>, <code>Element</code></td>
+</tr>
+<tr>
+<th rowspan='1' colspan='1'>Context info</th>
+<td valign='top' rowspan='1' colspan='1'><a href='#events-Events-WheelEvent-deltaX'><code>WheelEvent.deltaX</code></a>, <a href='#events-Events-WheelEvent-deltaY'><code>WheelEvent.deltaY</code></a>, <a href='#events-Events-WheelEvent-deltaZ'><code>WheelEvent.deltaZ</code></a>, <a href='#events-Events-MouseEvent-altKey'><code>MouseEvent.altKey</code></a>, <a href='#events-Events-MouseEvent-ctrlKey'><code>MouseEvent.ctrlKey</code></a>, <a href='#events-Events-MouseEvent-shiftKey'><code>MouseEvent.shiftKey</code></a>, <a href='#events-Events-MouseEvent-metaKey'><code>MouseEvent.metaKey</code></a>, and <a href='#events-Events-UIEvent-view'><code>UIEvent.view</code></a> are in use. <a href='#events-Events-MouseEvent-screenX'><code>MouseEvent.screenX</code></a>, <a href='#events-Events-MouseEvent-screenY'><code>MouseEvent.screenY</code></a>, <a href='#events-Events-MouseEvent-clientX'><code>MouseEvent.clientX</code></a>, <a href='#events-Events-MouseEvent-clientY'><code>MouseEvent.clientY</code></a>, and <a href='#events-Events-MouseEvent-button'><code>MouseEvent.button</code></a> are in use if the wheel is associated to a pointing device. <a href='#events-Events-MouseEvent-relatedTarget'><code>MouseEvent.relatedTarget</code></a> indicates the <a href='#glossary-dt-event-target'>event target</a> the pointing device is pointing at, if any. <a href='#events-Events-UIEvent-detail'><code>UIEvent.detail</code></a> is not in use.</td>
+</tr>
+</table>
+A mouse wheel has been rotated. A default action of user agent generated event objects of this type causes implementations to dispatch a <code>mousewheel</code> event iff it supports that event type and <a href='#events-Events-WheelEvent-deltaY'><code>WheelEvent.deltaY</code></a> is non-zero.</dd>
+</dl>
+</div>
+</div>
+
+
+
<div class='div3'><a name='events-Events-eventgroupings-mutationevents' id='events-Events-eventgroupings-mutationevents'></a>
<h3 id='events-Events-eventgroupings-mutationevents-h3' class='div3'>1.7.7 Mutation event types</h3>
<p>This module defines the feature MutationEvents 3.0 and depends on the feature Events 3.0.</p>
@@ -4263,7 +4293,7 @@
<!-- div3 DOMLevel2to3Changes -->
<div class='div3'><a name='changes-DOMLevel3Addons' id='changes-DOMLevel3Addons'></a>
<h3 id='changes-DOMLevel3Addons-h3' class='adiv3'>B.1.4 New Interfaces</h3>
-<p>The interfaces <a href='#events-Events-CustomEvent'><code>CustomEvent</code></a>, <a href='#events-Events-TextEvent'><code>TextEvent</code></a>, <a href='#events-Events-KeyboardEvent'><code>KeyboardEvent</code></a>, <a href='#events-Events-MutationNameEvent'><code>MutationNameEvent</code></a>, <a href='#events-Events-MouseMultiWheelEvent'><code>MouseMultiWheelEvent</code></a>, and <a href='#events-Events-MouseWheelEvent'><code>MouseWheelEvent</code></a> were added to the Events module.</p>
+<p>The interfaces <a href='#events-Events-CustomEvent'><code>CustomEvent</code></a>, <a href='#events-Events-TextEvent'><code>TextEvent</code></a>, <a href='#events-Events-KeyboardEvent'><code>KeyboardEvent</code></a>, <a href='#events-Events-MutationNameEvent'><code>MutationNameEvent</code></a>, <a href='#events-Events-WheelEvent'><code>WheelEvent</code></a>, and <a href='#events-Events-MouseWheelEvent'><code>MouseWheelEvent</code></a> were added to the Events module.</p>
</div>
<!-- div3 DOMLevel3Addons --></div>
<!-- div2 DOMEvents2to3Changes --></div>
@@ -4520,11 +4550,11 @@
};
// Introduced in DOM Level 3:
- interface <a class='noxref' href='#events-Events-MouseMultiWheelEvent'>MouseMultiWheelEvent</a> : <a class='noxref' href='#events-Events-MouseEvent'>MouseEvent</a> {
- readonly attribute long <a class='noxref' href='#events-Events-MouseMultiWheelEvent-wheelDeltaX'>wheelDeltaX</a>;
- readonly attribute long <a class='noxref' href='#events-Events-MouseMultiWheelEvent-wheelDeltaY'>wheelDeltaY</a>;
- readonly attribute long <a class='noxref' href='#events-Events-MouseMultiWheelEvent-wheelDeltaZ'>wheelDeltaZ</a>;
- void <a class='noxref' href='#events-Events-Event-initMouseMultiWheelEventNS'>initMouseMultiWheelEventNS</a>(in DOMString namespaceURIArg,
+ interface <a class='noxref' href='#events-Events-WheelEvent'>WheelEvent</a> : <a class='noxref' href='#events-Events-MouseEvent'>MouseEvent</a> {
+ readonly attribute long <a class='noxref' href='#events-Events-WheelEvent-deltaX'>deltaX</a>;
+ readonly attribute long <a class='noxref' href='#events-Events-WheelEvent-deltaY'>deltaY</a>;
+ readonly attribute long <a class='noxref' href='#events-Events-WheelEvent-deltaZ'>deltaZ</a>;
+ void <a class='noxref' href='#events-Events-Event-initWheelEventNS'>initWheelEventNS</a>(in DOMString namespaceURIArg,
in DOMString typeArg,
in boolean canBubbleArg,
in boolean cancelableArg,
@@ -4537,9 +4567,9 @@
in unsigned short buttonArg,
in <a class='noxref' href='#events-Events-EventTarget'>EventTarget</a> relatedTargetArg,
in DOMString modifiersListArg,
- in long wheelDeltaXArg,
- in long wheelDeltaYArg,
- in long wheelDeltaZArg);
+ in long deltaXArg,
+ in long deltaYArg,
+ in long deltaZArg);
};
// Introduced in DOM Level 3:
@@ -4926,21 +4956,21 @@
}
</pre></div>
-<h3 id='java-binding-org.w3c.dom.events.MouseMultiWheelEvent'>org\w3c\dom\events\MouseMultiWheelEvent.java:</h3>
+<h3 id='java-binding-org.w3c.dom.events.WheelEvent'>org\w3c\dom\events\WheelEvent.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.events;
import org.w3c.dom.views.AbstractView;
-public interface MouseMultiWheelEvent extends MouseEvent {
+public interface WheelEvent extends MouseEvent {
public int getWheelDeltaX();
public int getWheelDeltaY();
public int getWheelDeltaZ();
- public void initMouseMultiWheelEventNS(String namespaceURIArg,
+ public void initWheelEventNS(String namespaceURIArg,
String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
@@ -4953,9 +4983,9 @@
short buttonArg,
EventTarget relatedTargetArg,
String modifiersListArg,
- int wheelDeltaXArg,
- int wheelDeltaYArg,
- int wheelDeltaZArg);
+ int deltaXArg,
+ int deltaYArg,
+ int deltaZArg);
}
</pre></div>
@@ -5435,25 +5465,25 @@
</dd>
</dl>
</dd>
-<dt>Objects that implement the <b>MouseMultiWheelEvent</b> interface:</dt>
-<dd>
-<dl>
-<dt>Objects that implement the <b>MouseMultiWheelEvent</b> interface have all properties and functions of the <b>MouseEvent</b> interface as well as the properties and functions defined below.</dt>
-<dt>Properties of objects that implement the <b>MouseMultiWheelEvent</b> interface:</dt>
-<dd>
-<dl>
-<dt><b>wheelDeltaX</b></dt>
+<dt>Objects that implement the <b>WheelEvent</b> interface:</dt>
+<dd>
+<dl>
+<dt>Objects that implement the <b>WheelEvent</b> interface have all properties and functions of the <b>MouseEvent</b> interface as well as the properties and functions defined below.</dt>
+<dt>Properties of objects that implement the <b>WheelEvent</b> interface:</dt>
+<dd>
+<dl>
+<dt><b>deltaX</b></dt>
<dd>This read-only property is a <b>Number</b>.</dd>
-<dt><b>wheelDeltaY</b></dt>
+<dt><b>deltaY</b></dt>
<dd>This read-only property is a <b>Number</b>.</dd>
-<dt><b>wheelDeltaZ</b></dt>
+<dt><b>deltaZ</b></dt>
<dd>This read-only property is a <b>Number</b>.</dd>
</dl>
</dd>
-<dt>Functions of objects that implement the <b>MouseMultiWheelEvent</b> interface:</dt>
-<dd>
-<dl>
-<dt><b>initMouseMultiWheelEventNS(namespaceURIArg, typeArg, canBubbleArg, cancelableArg, viewArg, detailArg, screenXArg, screenYArg, clientXArg, clientYArg, buttonArg, relatedTargetArg, modifiersListArg, wheelDeltaXArg, wheelDeltaYArg, wheelDeltaZArg)</b></dt>
+<dt>Functions of objects that implement the <b>WheelEvent</b> interface:</dt>
+<dd>
+<dl>
+<dt><b>initWheelEventNS(namespaceURIArg, typeArg, canBubbleArg, cancelableArg, viewArg, detailArg, screenXArg, screenYArg, clientXArg, clientYArg, buttonArg, relatedTargetArg, modifiersListArg, deltaXArg, deltaYArg, deltaZArg)</b></dt>
<dd>This function has no return value.<br />
The <b>namespaceURIArg</b> parameter is a <b>String</b>.<br />
The <b>typeArg</b> parameter is a <b>String</b>.<br />
@@ -5468,9 +5498,9 @@
The <b>buttonArg</b> parameter is a <b>Number</b>.<br />
The <b>relatedTargetArg</b> parameter is an object that implements the <b>EventTarget</b> interface.<br />
The <b>modifiersListArg</b> parameter is a <b>String</b>.<br />
-The <b>wheelDeltaXArg</b> parameter is a <b>Number</b>.<br />
-The <b>wheelDeltaYArg</b> parameter is a <b>Number</b>.<br />
-The <b>wheelDeltaZArg</b> parameter is a <b>Number</b>.</dd>
+The <b>deltaXArg</b> parameter is a <b>Number</b>.<br />
+The <b>deltaYArg</b> parameter is a <b>Number</b>.<br />
+The <b>deltaZArg</b> parameter is a <b>Number</b>.</dd>
</dl>
</dd>
</dl>
@@ -5837,7 +5867,7 @@
<td width='30%'><a class='noxref' href='#events-Events-Event'>Event</a> <a class='index-inst' href='#events-Events-Event'>1</a>, <a class='index-inst' href='#events-Events-overview'>2</a>, <a class='index-inst' href='#events-Events-EventListener-handleEvent'>3</a>, <a class='index-inst' href='#glossary-dt-event'>4</a></td>
</tr>
<tr>
-<td width='30%'><a class='noxref' href='#events-AT_TARGET'>event target</a> <a class='index-inst' href='#events-AT_TARGET'>1</a>, <a class='index-inst' href='#events-Events-Event-target'>2</a>, <a class='index-inst' href='#events-Events-EventTarget'>3</a>, <a class='index-inst' href='#events-Events-EventTarget-dispatchEvent'>4</a>, <a class='index-inst' href='#events-Events-eventgroupings-uievents'>5</a>, <a class='index-inst' href='#events-Events-eventgroupings-mouseevents'>6</a>, <a class='index-inst' href='#events-Events-eventgroupings-mousemultiwheelevents'>7</a>, <a class='index-inst' href='#events-Events-eventgroupings-mousewheelevents'>8</a>, <a class='index-inst' href='#glossary-dt-event-target'>9</a></td>
+<td width='30%'><a class='noxref' href='#events-AT_TARGET'>event target</a> <a class='index-inst' href='#events-AT_TARGET'>1</a>, <a class='index-inst' href='#events-Events-Event-target'>2</a>, <a class='index-inst' href='#events-Events-EventTarget'>3</a>, <a class='index-inst' href='#events-Events-EventTarget-dispatchEvent'>4</a>, <a class='index-inst' href='#events-Events-eventgroupings-uievents'>5</a>, <a class='index-inst' href='#events-Events-eventgroupings-mouseevents'>6</a>, <a class='index-inst' href='#events-Events-eventgroupings-wheelevents'>7</a>, <a class='index-inst' href='#events-Events-eventgroupings-mousewheelevents'>8</a>, <a class='index-inst' href='#glossary-dt-event-target'>9</a></td>
<td width='30%'><a class='noxref' href='#events-Events-EventException'>EventException</a></td>
<td width='30%'><a class='noxref' href='#events-Events-EventListener'>EventListener</a></td>
</tr>
@@ -5879,7 +5909,7 @@
</tr>
<tr>
<td width='30%'><a class='noxref' href='#events-Events-Event-initMouseEventNS'>initMouseEventNS</a></td>
-<td width='30%'><a class='noxref' href='#events-Events-Event-initMouseMultiWheelEventNS'>initMouseMultiWheelEventNS</a></td>
+<td width='30%'><a class='noxref' href='#events-Events-Event-initWheelEventNS'>initWheelEventNS</a></td>
<td width='30%'><a class='noxref' href='#events-Events-Event-initMouseWheelEventNS'>initMouseWheelEventNS</a></td>
</tr>
<tr>
@@ -5937,10 +5967,10 @@
<tr>
<td width='30%'><a class='noxref' href='#events-Events-MouseEvent'>MouseEvent</a></td>
<td width='30%'><a class='noxref' href='#events-Events-EventTypes-complete'>mousemove</a> <a class='index-inst' href='#events-Events-EventTypes-complete'>1</a>, <a class='index-inst' href='#events-Events-eventgroupings-mouseevents'>2</a>, <a class='index-inst' href='#events-event-mousemove'>3</a></td>
-<td width='30%'><a class='noxref' href='#events-Events-EventTypes-complete'>mousemultiwheel</a> <a class='index-inst' href='#events-Events-EventTypes-complete'>1</a>, <a class='index-inst' href='#events-event-mousemultiwheel'>2</a></td>
-</tr>
-<tr>
-<td width='30%'><a class='noxref' href='#events-Events-MouseMultiWheelEvent'>MouseMultiWheelEvent</a></td>
+<td width='30%'><a class='noxref' href='#events-Events-EventTypes-complete'>wheel</a> <a class='index-inst' href='#events-Events-EventTypes-complete'>1</a>, <a class='index-inst' href='#events-event-wheel'>2</a></td>
+</tr>
+<tr>
+<td width='30%'><a class='noxref' href='#events-Events-WheelEvent'>WheelEvent</a></td>
<td width='30%'><a class='noxref' href='#events-Events-EventTypes-complete'>mouseout</a> <a class='index-inst' href='#events-Events-EventTypes-complete'>1</a>, <a class='index-inst' href='#events-Events-eventgroupings-mouseevents'>2</a>, <a class='index-inst' href='#events-event-mouseout'>3</a></td>
<td width='30%'><a class='noxref' href='#events-Events-EventTypes-complete'>mouseover</a> <a class='index-inst' href='#events-Events-EventTypes-complete'>1</a>, <a class='index-inst' href='#events-Events-eventgroupings-mouseevents'>2</a>, <a class='index-inst' href='#events-event-mouseover'>3</a></td>
</tr>
@@ -6050,11 +6080,11 @@
</tr>
<tr>
<td width='30%'><a class='noxref' href='#events-Events-MouseWheelEvent-wheelDelta'>wheelDelta</a></td>
-<td width='30%'><a class='noxref' href='#events-Events-MouseMultiWheelEvent-wheelDeltaX'>wheelDeltaX</a></td>
-<td width='30%'><a class='noxref' href='#events-Events-MouseMultiWheelEvent-wheelDeltaY'>wheelDeltaY</a></td>
-</tr>
-<tr>
-<td width='30%'><a class='noxref' href='#events-Events-MouseMultiWheelEvent-wheelDeltaZ'>wheelDeltaZ</a></td>
+<td width='30%'><a class='noxref' href='#events-Events-WheelEvent-deltaX'>deltaX</a></td>
+<td width='30%'><a class='noxref' href='#events-Events-WheelEvent-deltaY'>deltaY</a></td>
+</tr>
+<tr>
+<td width='30%'><a class='noxref' href='#events-Events-WheelEvent-deltaZ'>deltaZ</a></td>
</tr>
<tr>
<td> </td>