Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 6282078ae76a671f49c6af38c67b1a07 > files > 1534

kdelibs-devel-2.2.2-49.2mdk.i586.rpm

<HTML>
<HEAD>
<TITLE>class MutationEvent</TITLE>

<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
	<TABLE BORDER="0">
		<TR><TD valign="top" align="left" cellspacing="10">
		<h1>class MutationEvent</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">
 Introduced in DOM Level 2
 <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH>Full name</TH><TD><code><A HREF="DOM.html">DOM</A>::MutationEvent</code></TD></TR>
<TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="dom2__events_h.html">dom2_events.h</A>&gt;</code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="DOM__Event.html">DOM::Event</A> <small>[public ]</small></TD></TR>
<TR><TH><A HREF="full-list-DOM__MutationEvent.html">List of all Methods</A></TH></TR>
	</TABLE>
	</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Types</h4><ul><LI>enum <A HREF="#ref7">attrChangeType</A> {	MODIFICATION = 1,
	ADDITION = 2,
	REMOVAL = 3
    }
</LI>
</ul><h4>Public Methods</h4><ul><LI>&nbsp;<b><A HREF="#ref1">MutationEvent</A></b> () 
</LI>
<LI>&nbsp;<b><A HREF="#ref2">MutationEvent</A></b> (const MutationEvent &other) 
</LI>
<LI>&nbsp;<b><A HREF="#ref3">MutationEvent</A></b> (const Event &other) 
</LI>
<LI>MutationEvent & &nbsp;<b><A HREF="#ref4">operator = </A></b> (const MutationEvent &other) 
</LI>
<LI>MutationEvent & &nbsp;<b><A HREF="#ref5">operator = </A></b> (const Event &other) 
</LI>
<LI>virtual  &nbsp;<b><A HREF="#ref6">~MutationEvent</A></b> () 
</LI>
<LI>Node &nbsp;<b><A HREF="#ref8">relatedNode</A></b> ()  const
</LI>
<LI>DOMString &nbsp;<b><A HREF="#ref9">prevValue</A></b> ()  const
</LI>
<LI>DOMString &nbsp;<b><A HREF="#ref10">newValue</A></b> ()  const
</LI>
<LI>DOMString &nbsp;<b><A HREF="#ref11">attrName</A></b> ()  const
</LI>
<LI>unsigned short &nbsp;<b><A HREF="#ref12">attrChange</A></b> ()  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref13">initMutationEvent</A></b> (const DOMString &typeArg,
                                       bool canBubbleArg,
                                       bool cancelableArg,
                                       const Node &relatedNodeArg,
                                       const DOMString &prevValueArg,
                                       const DOMString &newValueArg,
                                       const DOMString &attrNameArg,
                                       unsigned short attrChangeArg) 
</LI>
</ul><h4>Protected Methods</h4><ul><LI>&nbsp;<b><A HREF="#ref14">MutationEvent</A></b> (MutationEventImpl *impl) 
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
 Introduced in DOM Level 2
</p>
<p> The MutationEvent interface provides specific contextual information
 associated with Mutation events.
</p>
<p> </p>
<A NAME="MutationEvent"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>MutationEvent</strong> ()
<br></td><td align="right"><h3><strong>MutationEvent</strong></h3></td></tr></table><p></p><A NAME="MutationEvent"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>MutationEvent</strong> (const MutationEvent &other)
<br></td><td align="right"><h3><strong>MutationEvent</strong></h3></td></tr></table><p></p><A NAME="MutationEvent"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>MutationEvent</strong> (const Event &other)
<br></td><td align="right"><h3><strong>MutationEvent</strong></h3></td></tr></table><p></p><A NAME="operator%20=%20"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>MutationEvent & &nbsp;<strong>operator = </strong> (const MutationEvent &other)
<br></td><td align="right"><h3><strong>operator = </strong></h3></td></tr></table><p></p><p>Reimplemented from <A HREF="DOM__Event.html#operator%20=%20">Event</A>.</p>
<A NAME="operator%20=%20"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td>MutationEvent & &nbsp;<strong>operator = </strong> (const Event &other)
<br></td><td align="right"><h3><strong>operator = </strong></h3></td></tr></table><p></p><p>Reimplemented from <A HREF="DOM__Event.html#operator%20=%20">Event</A>.</p>
<A NAME="~MutationEvent"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td> &nbsp;<strong>~MutationEvent</strong> ()
<br></td><td align="right"><h3><strong>~MutationEvent</strong></h3></td></tr></table><p> <small>[virtual]</small></p><A NAME="attrChangeType"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>attrChangeType</strong> {	MODIFICATION = 1,
	ADDITION = 2,
	REMOVAL = 3
    }
</td><td align="right"><h3><strong>attrChangeType</strong></h3></td></tr></table><p></p><p>
 An integer indicating in which way the Attr was changed.
</p>
<p> ADDITION: The Attr was just added.
</p>
<p> MODIFICATION: The Attr was modified in place.
</p>
<p> REMOVAL: The Attr was just removed.
</p>
<p>     </p>
<A NAME="relatedNode"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td>Node &nbsp;<strong>relatedNode</strong> ()
<br></td><td align="right"><h3><strong>relatedNode</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 relatedNode is used to identify a secondary node related to a mutation
 event. For example, if a mutation event is dispatched to a node
 indicating that its parent has changed, the relatedNode is the changed
 parent. If an event is instead dispatched to a subtree indicating a node
 was changed within it, the relatedNode is the changed node. In the case
 of the DOMAttrModified event it indicates the Attr node which was
 modified, added, or removed.
</p>
<p>     </p>
<A NAME="prevValue"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td>DOMString &nbsp;<strong>prevValue</strong> ()
<br></td><td align="right"><h3><strong>prevValue</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 prevValue indicates the previous value of the Attr node in
 DOMAttrModified events, and of the CharacterData node in
 DOMCharDataModified events.
</p>
<p>     </p>
<A NAME="newValue"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td>DOMString &nbsp;<strong>newValue</strong> ()
<br></td><td align="right"><h3><strong>newValue</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 newValue indicates the new value of the Attr node in DOMAttrModified
 events, and of the CharacterData node in DOMCharDataModified events.
</p>
<p>     </p>
<A NAME="attrName"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td>DOMString &nbsp;<strong>attrName</strong> ()
<br></td><td align="right"><h3><strong>attrName</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 attrName indicates the name of the changed Attr node in a
 DOMAttrModified event.
</p>
<p>     </p>
<A NAME="attrChange"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td>unsigned short &nbsp;<strong>attrChange</strong> ()
<br></td><td align="right"><h3><strong>attrChange</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 attrChange indicates the type of change which triggered the
 DOMAttrModified event. The values can be MODIFICATION, ADDITION, or
 REMOVAL.
</p>
<p>     </p>
<A NAME="initMutationEvent"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>initMutationEvent</strong> (const DOMString &typeArg,
                                       bool canBubbleArg,
                                       bool cancelableArg,
                                       const Node &relatedNodeArg,
                                       const DOMString &prevValueArg,
                                       const DOMString &newValueArg,
                                       const DOMString &attrNameArg,
                                       unsigned short attrChangeArg)
<br></td><td align="right"><h3><strong>initMutationEvent</strong></h3></td></tr></table><p></p><p>
 The initMutationEvent method is used to initialize the value of a
 MutationEvent created through the DocumentEvent interface. This method
 may only be called before the MutationEvent has been dispatched via the
 dispatchEvent method, though it may be called multiple times during that
 phase if necessary. If called multiple times, the final invocation takes
 precedence.
</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p>     </p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>typeArg</i></TD><TD align="left" valign="top">Specifies the event type.
</TD></TR>
<TR><TD align="left" valign="top"><i>canBubbleArg</i></TD><TD align="left" valign="top">Specifies whether or not the event can bubble.
</TD></TR>
<TR><TD align="left" valign="top"><i>cancelableArg</i></TD><TD align="left" valign="top">Specifies whether or not the event's default action can be prevented.
</TD></TR>
<TR><TD align="left" valign="top"><i>relatedNodeArg</i></TD><TD align="left" valign="top">Specifies the Event's related Node.
</TD></TR>
<TR><TD align="left" valign="top"><i>prevValueArg</i></TD><TD align="left" valign="top">Specifies the Event's prevValue attribute. This value may be null.
</TD></TR>
<TR><TD align="left" valign="top"><i>newValueArg</i></TD><TD align="left" valign="top">Specifies the Event's newValue attribute. This value may be null.
</TD></TR>
<TR><TD align="left" valign="top"><i>attrNameArg</i></TD><TD align="left" valign="top">Specifies the Event's attrName attribute. This value may be null.
</TD></TR>
<TR><TD align="left" valign="top"><i>attrChangeArg</i></TD><TD align="left" valign="top">Specifies the Event's attrChange attribute
</TD></TR>
</TABLE></P>
<A NAME="MutationEvent"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>MutationEvent</strong> (MutationEventImpl *impl)
<br></td><td align="right"><h3><strong>MutationEvent</strong></h3></td></tr></table><p> <small>[protected]</small></p><HR>
	<table>
	<tr><td><small>Generated by: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:31 2002, using kdoc 2.0a53.</small></td></tr>
	</table>
</BODY>
</HTML>