Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: awt :: tree ::
unpublished | interface XMutableTreeNode |
  Base Interfaces
      XMutableTreeNode
      ┗ XTreeNode
  XTreeNode | (referenced interface's summary:) An instance implementing this interface represents the model data for an entry in a XTreeDataModel.
Usage Restrictions not published Description Represents a mutable tree node as used by the MutableTreeDataModel

Methods' Summary
appendChild | appends ChildNode to this instance.
insertChildByIndex | inserts ChildNode to this instance at the given index.
removeChildByIndex | removes the node from this instance at the specified index.
setHasChildrenOnDemand | Changes if the children of this node are created on demand.
setDisplayValue | sets the display value of this node
setNodeGraphicURL | The URL for a graphic that is rendered before the text part of this node.
setExpandedGraphicURL | The URL for a graphic that is rendered to visualize expanded non leaf nodes.
setCollapsedGraphicURL | The URL for a graphic that is rendered to visualize collapsed non leaf nodes.

Attributes' Summary
DataValue | Stores an implementation dependent value.

Methods' Details
appendChild
void
appendChild( | [in] XMutableTreeNode | ChildNode )
raises( | ::com::sun::star::lang::IllegalArgumentException );
Description appends ChildNode to this instance. Throws ::com::sun::star::lang::IllegalArgumentException if ChildNode is not a valid node of the corresponding XTreeDataModel.
insertChildByIndex
void
insertChildByIndex( | [in] long | Index,
| [in] XMutableTreeNode | ChildNode )
raises( | ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::IndexOutOfBoundsException );
Description inserts ChildNode to this instance at the given index. Parameter Index the index where the node will be inserted to this instance. Throws ::com::sun::star::lang::IllegalArgumentException if ChildNode is not a valid node of the corresponding XTreeDataModel. Throws ::com::sun::star::lang::IndexOutOfBoundsException if Index is less than 0 or greater then XTreeNode::getChildCount().
removeChildByIndex
void
removeChildByIndex( | [in] long | Index )
raises( | ::com::sun::star::lang::IndexOutOfBoundsException );
Description removes the node from this instance at the specified index. Parameter Index the index of the node to be removed from this instance. Throws ::com::sun::star::lang::IndexOutOfBoundsException if Index is less than 0 or greater then XTreeNode::getChildCount().
setHasChildrenOnDemand
void
setHasChildrenOnDemand( | [in] boolean | ChildrenOnDemand );
Description Changes if the children of this node are created on demand. See also XTreeNode::hasChildrenOnDemand()
setDisplayValue
void
setDisplayValue( | [in] any | Value );
Description sets the display value of this node
setNodeGraphicURL
void
setNodeGraphicURL( | [in] string | URL );
Description The URL for a graphic that is rendered before the text part of this node. If this URL is empty, no graphic is rendered.
setExpandedGraphicURL
void
setExpandedGraphicURL( | [in] string | URL );
Description The URL for a graphic that is rendered to visualize expanded non leaf nodes. If URL is empty, XTreeControl::DefaultExpandedGraphicURL is used.
setCollapsedGraphicURL
void
setCollapsedGraphicURL( | [in] string | URL );
Description The URL for a graphic that is rendered to visualize collapsed non leaf nodes. If URL is empty, XTreeControl::DefaultCollapsedGraphicURL is used.

Attributes' Details
DataValue
any DataValue; Description Stores an implementation dependent value. You can use this attribute to store data for this node that is independent of the display value

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.