<html> <head> <title>Interface XTreeDataModelListener</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="XTreeDataModelListener-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#MethodsSummary" class="navisub">Methods' Summary</a></td> <td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td> <td class="navisub">Attributes' Summary</td> <td class="navisub">Attributes' Details</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../../module-ix.html" class="namechain">::</a> <a href="../../../../module-ix.html" class="namechain">com</a> :: <a href="../../../module-ix.html" class="namechain">sun</a> :: <a href="../../module-ix.html" class="namechain">star</a> :: <a href="../module-ix.html" class="namechain">awt</a> :: <a href="module-ix.html" class="namechain">tree</a> :: </p> </td> </tr> <tr> <td class="title"><table class="title-table" width="99%"> <tr> <td width="25%" class="title2">unpublished </td> <td width="50%" class="title">interface XTreeDataModelListener</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td><dl> <dt><b>Base Interfaces</b></dt> <dd><pre style="font-family:monospace;"><strong>XTreeDataModelListener</strong> ┗ ::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/XEventListener.html">XEventListener</a> </pre></dd> <dd><a name/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="crosstitle"> <tr> <td class="imsum_left">::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/XEventListener.html">XEventListener</a></td> <td class="imsum_right"><dl> <dt>(referenced interface's summary:)</dt> <dd>base interface for all event listeners interfaces. </dd> </dl> </td> </tr> </table> </dd> </dl> </td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>An instance of this interface is used by the <service>TreeControl</service> to get notifications about data model changes. </dd> <dd><p>Usually you must not implement this interface yourself as it is already handled by the <service>TreeControl</service>, but you must notify it correctly if you implement the <a href="XTreeDataModel.html">XTreeDataModel</a> yourself</p>. </dd> </dl> </td> </tr> </table> <hr> <a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Methods' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#treeNodesChanged">treeNodesChanged</a></td> <td class="imsum_right">Invoked after a node (or a set of siblings) has changed in some way. The node(s) have not changed locations in the tree or altered their children arrays, but other attributes have changed and may affect presentation. Example: the name of a file has changed, but it is in the same location in the file system. To indicate the root has changed, <a href="TreeDataModelEvent.html">TreeDataModelEvent</a>::<a href="TreeDataModelEvent.html#Nodes">Nodes</a> will contain the root node and and </member will be empty. </td> </tr> <tr> <td class="imsum_left"><a href="#treeNodesInserted">treeNodesInserted</a></td> <td class="imsum_right">Invoked after nodes have been inserted into the tree. Use <a href="TreeDataModelEvent.html">TreeDataModelEvent</a>::<a href="TreeDataModelEvent.html#ParentNode">ParentNode</a> to get the parent of the new node(s). <a href="TreeDataModelEvent.html">TreeDataModelEvent</a>::<a href="TreeDataModelEvent.html#Nodes">Nodes</a> contains the new node(s). </td> </tr> <tr> <td class="imsum_left"><a href="#treeNodesRemoved">treeNodesRemoved</a></td> <td class="imsum_right">Invoked after nodes have been removed from the tree. </td> </tr> <tr> <td class="imsum_left"><a href="#treeStructureChanged">treeStructureChanged</a></td> <td class="imsum_right">Invoked after the tree has drastically changed structure from a given node down. Use <a href="TreeDataModelEvent.html">TreeDataModelEvent</a>::<a href="TreeDataModelEvent.html#ParentNode">ParentNode</a> to get the node which structure has changed. <a href="TreeDataModelEvent.html">TreeDataModelEvent</a>::<a href="TreeDataModelEvent.html#Nodes">Nodes</a> is empty. </td> </tr> </table> <a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Methods' Details</td> </tr> <tr> <td class="imdetail"><a name="treeNodesChanged" class="membertitle">treeNodesChanged</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>treeNodesChanged</b>(</td> <td valign="top">[in] <a href="TreeDataModelEvent.html">TreeDataModelEvent</a></td> <td valign="bottom"> Event );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Invoked after a node (or a set of siblings) has changed in some way. The node(s) have not changed locations in the tree or altered their children arrays, but other attributes have changed and may affect presentation. Example: the name of a file has changed, but it is in the same location in the file system. To indicate the root has changed, <a href="TreeDataModelEvent.html">TreeDataModelEvent</a>::<a href="TreeDataModelEvent.html#Nodes">Nodes</a> will contain the root node and and </member will be empty. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="treeNodesInserted" class="membertitle">treeNodesInserted</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>treeNodesInserted</b>(</td> <td valign="top">[in] <a href="TreeDataModelEvent.html">TreeDataModelEvent</a></td> <td valign="bottom"> Event );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Invoked after nodes have been inserted into the tree. Use <a href="TreeDataModelEvent.html">TreeDataModelEvent</a>::<a href="TreeDataModelEvent.html#ParentNode">ParentNode</a> to get the parent of the new node(s). <a href="TreeDataModelEvent.html">TreeDataModelEvent</a>::<a href="TreeDataModelEvent.html#Nodes">Nodes</a> contains the new node(s). </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="treeNodesRemoved" class="membertitle">treeNodesRemoved</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>treeNodesRemoved</b>(</td> <td valign="top">[in] <a href="TreeDataModelEvent.html">TreeDataModelEvent</a></td> <td valign="bottom"> Event );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Invoked after nodes have been removed from the tree. </dd> <dd><p>Note that if a subtree is removed from the tree, this method may only be invoked once for the root of the removed subtree, not once for each individual set of siblings removed. Use <a href="TreeDataModelEvent.html">TreeDataModelEvent</a>::<a href="TreeDataModelEvent.html#ParentNode">ParentNode</a> to get the former parent of the deleted node(s). <a href="TreeDataModelEvent.html">TreeDataModelEvent</a>::<a href="TreeDataModelEvent.html#Nodes">Nodes</a> contains the removed node(s). </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="treeStructureChanged" class="membertitle">treeStructureChanged</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>treeStructureChanged</b>(</td> <td valign="top">[in] <a href="TreeDataModelEvent.html">TreeDataModelEvent</a></td> <td valign="bottom"> Event );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Invoked after the tree has drastically changed structure from a given node down. Use <a href="TreeDataModelEvent.html">TreeDataModelEvent</a>::<a href="TreeDataModelEvent.html#ParentNode">ParentNode</a> to get the node which structure has changed. <a href="TreeDataModelEvent.html">TreeDataModelEvent</a>::<a href="TreeDataModelEvent.html#Nodes">Nodes</a> is empty. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>