:: com :: sun :: star :: awt :: tree ::
|
unpublished |
interface XMutableTreeDataModel |
|
|
- Base Interfaces
XMutableTreeDataModel
┗ XTreeDataModel
┗ ::com::sun::star::lang::XComponent
XTreeDataModel |
- (referenced interface's summary:)
- An instance of this interface is used by the TreeControl to
retrieve the hierarchical outline data that is displayed in the actual control.
|
|
- Usage Restrictions
- not published
- Description
- This is the editable version of the XTreeDataModel.
Note that only XTreeNode created from the same instance with createNode
are valid nodes for this instance.
|
Methods' Summary |
createNode |
creates a new tree node with the given value and given settings.
|
setRoot |
changes the root node of this model to RootNode.
|
Methods' Details |
createNode
XMutableTreeNode |
createNode( |
[in] any |
DisplayValue, |
| [in] boolean |
ChildrenOnDemand ); |
- Description
- creates a new tree node with the given value and given settings.
- Parameter DisplayValue
- should be convertible to a string and is used by the XTreeControl
as a textual representation of the created node.
- Parameter ChildrenOnDemand
- if true is used as a parameter, the created node will be treated as a non-leaf
node by the XTreeControl, even when it has no child nodes.
- Returns
- a new XMutableTreeNode that can be used for this model.
- See also
- XTreeNode::getDisplayValue(), XTreeNode::hasChildrenOnDemand()
|
|
setRoot
- Description
- changes the root node of this model to RootNode.
- Parameter RootNode
- the XMutableTreeNode that becomes the new root node of this model.
- Throws
- ::com::sun::star::lang::IllegalArgumentException
if RootNode is not a valid node of this XTreeDataModel.
|
|
Top of Page
Copyright © 2000, 2013 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.