<html> <head> <title>Interface XMutableTreeNode</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="XMutableTreeNode-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"><a href="#AttributesSummary" class="navisub">Attributes' Summary</a></td> <td class="navisub"><a href="#AttributesDetails" class="navisub">Attributes' Details</a></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 XMutableTreeNode</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td><dl> <dt><b>Base Interfaces</b></dt> <dd><pre style="font-family:monospace;"><strong>XMutableTreeNode</strong> ┗ <a href="XTreeNode.html">XTreeNode</a> </pre></dd> <dd><a name/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="crosstitle"> <tr> <td class="imsum_left"><a href="XTreeNode.html">XTreeNode</a></td> <td class="imsum_right"><dl> <dt>(referenced interface's summary:)</dt> <dd>An instance implementing this interface represents the model data for an entry in a <a href="XTreeDataModel.html">XTreeDataModel</a>. </dd> </dl> </td> </tr> </table> </dd> </dl> </td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>Represents a mutable tree node as used by the <a href="MutableTreeDataModel.html">MutableTreeDataModel</a> </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="#appendChild">appendChild</a></td> <td class="imsum_right">appends <var>ChildNode</var> to this instance. </td> </tr> <tr> <td class="imsum_left"><a href="#insertChildByIndex">insertChildByIndex</a></td> <td class="imsum_right">inserts <var>ChildNode</var> to this instance at the given index. </td> </tr> <tr> <td class="imsum_left"><a href="#removeChildByIndex">removeChildByIndex</a></td> <td class="imsum_right">removes the node from this instance at the specified index. </td> </tr> <tr> <td class="imsum_left"><a href="#setHasChildrenOnDemand">setHasChildrenOnDemand</a></td> <td class="imsum_right">Changes if the children of this node are created on demand. </td> </tr> <tr> <td class="imsum_left"><a href="#setDisplayValue">setDisplayValue</a></td> <td class="imsum_right">sets the display value of this node </td> </tr> <tr> <td class="imsum_left"><a href="#setNodeGraphicURL">setNodeGraphicURL</a></td> <td class="imsum_right">The URL for a graphic that is rendered before the text part of this node. </td> </tr> <tr> <td class="imsum_left"><a href="#setExpandedGraphicURL">setExpandedGraphicURL</a></td> <td class="imsum_right">The URL for a graphic that is rendered to visualize expanded non leaf nodes. </td> </tr> <tr> <td class="imsum_left"><a href="#setCollapsedGraphicURL">setCollapsedGraphicURL</a></td> <td class="imsum_right">The URL for a graphic that is rendered to visualize collapsed non leaf nodes. </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="appendChild" class="membertitle">appendChild</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>appendChild</b>(</td> <td valign="top">[in] <a href="XMutableTreeNode.html">XMutableTreeNode</a></td> <td valign="bottom"> ChildNode )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2">::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/IllegalArgumentException.html">IllegalArgumentException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>appends <var>ChildNode</var> to this instance. </dd> <dt><b>Throws</b></dt> <dd>::com::sun::star::lang::IllegalArgumentException if <var>ChildNode</var> is not a valid node of the corresponding <a href="XTreeDataModel.html">XTreeDataModel</a>. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="insertChildByIndex" class="membertitle">insertChildByIndex</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>insertChildByIndex</b>(</td> <td valign="top">[in] long</td> <td valign="bottom"> Index,</td> </tr> <tr> <td/><td valign="top">[in] <a href="XMutableTreeNode.html">XMutableTreeNode</a></td> <td valign="bottom"> ChildNode )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2">::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/IllegalArgumentException.html">IllegalArgumentException</a>,<br> ::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/IndexOutOfBoundsException.html">IndexOutOfBoundsException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>inserts <var>ChildNode</var> to this instance at the given index. </dd> <dt><b>Parameter Index</b></dt> <dd>the index where the node will be inserted to this instance. </dd> <dt><b>Throws</b></dt> <dd>::com::sun::star::lang::IllegalArgumentException if <var>ChildNode</var> is not a valid node of the corresponding <a href="XTreeDataModel.html">XTreeDataModel</a>. </dd> <dt><b>Throws</b></dt> <dd>::com::sun::star::lang::IndexOutOfBoundsException if <var>Index</var> is less than 0 or greater then <a href="XTreeNode.html">XTreeNode</a>::<a href="XTreeNode.html#getChildCount">getChildCount()</a>. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="removeChildByIndex" class="membertitle">removeChildByIndex</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>removeChildByIndex</b>(</td> <td valign="top">[in] long</td> <td valign="bottom"> Index )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2">::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/IndexOutOfBoundsException.html">IndexOutOfBoundsException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>removes the node from this instance at the specified index. </dd> <dt><b>Parameter Index</b></dt> <dd>the index of the node to be removed from this instance. </dd> <dt><b>Throws</b></dt> <dd>::com::sun::star::lang::IndexOutOfBoundsException if <var>Index</var> is less than 0 or greater then <a href="XTreeNode.html">XTreeNode</a>::<a href="XTreeNode.html#getChildCount">getChildCount()</a>. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="setHasChildrenOnDemand" class="membertitle">setHasChildrenOnDemand</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>setHasChildrenOnDemand</b>(</td> <td valign="top">[in] boolean</td> <td valign="bottom"> ChildrenOnDemand );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Changes if the children of this node are created on demand. </dd> <dt><b>See also</b></dt> <dd><a href="XTreeNode.html">XTreeNode</a>::<a href="XTreeNode.html#hasChildrenOnDemand">hasChildrenOnDemand()</a></dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="setDisplayValue" class="membertitle">setDisplayValue</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>setDisplayValue</b>(</td> <td valign="top">[in] any</td> <td valign="bottom"> Value );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>sets the display value of this node </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="setNodeGraphicURL" class="membertitle">setNodeGraphicURL</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>setNodeGraphicURL</b>(</td> <td valign="top">[in] string</td> <td valign="bottom"> URL );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>The URL for a graphic that is rendered before the text part of this node. </dd> <dd><p>If this URL is empty, no graphic is rendered. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="setExpandedGraphicURL" class="membertitle">setExpandedGraphicURL</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>setExpandedGraphicURL</b>(</td> <td valign="top">[in] string</td> <td valign="bottom"> URL );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>The URL for a graphic that is rendered to visualize expanded non leaf nodes. </dd> <dd><p>If <var>URL</var> is empty, <a href="XTreeControl.html">XTreeControl</a>::<a href="XTreeControl.html#DefaultExpandedGraphicURL">DefaultExpandedGraphicURL</a> is used. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="setCollapsedGraphicURL" class="membertitle">setCollapsedGraphicURL</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>setCollapsedGraphicURL</b>(</td> <td valign="top">[in] string</td> <td valign="bottom"> URL );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>The URL for a graphic that is rendered to visualize collapsed non leaf nodes. </dd> <dd><p>If <var>URL</var> is empty, <a href="XTreeControl.html">XTreeControl</a>::<a href="XTreeControl.html#DefaultCollapsedGraphicURL">DefaultCollapsedGraphicURL</a> is used. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a name="AttributesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Attributes' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#DataValue">DataValue</a></td> <td class="imsum_right">Stores an implementation dependend value. </td> </tr> </table> <a name="AttributesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Attributes' Details</td> </tr> <tr> <td class="imdetail"><a name="DataValue" class="membertitle">DataValue</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>any <b>DataValue</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>Stores an implementation dependend value. </dd> <dd><p>You can use this attribute to store data for this node that is independend of the display value</p> </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>