:: com :: sun :: star :: awt :: tree ::
|
unpublished |
interface XTreeDataModel |
|
|
- Base Interfaces
XTreeDataModel
┗ ::com::sun::star::lang::XComponent
::com::sun::star::lang::XComponent |
- (referenced interface's summary:)
- allows to exclicitly free resources and break cyclic references.
|
|
- Usage Restrictions
- not published
- Description
- An instance of this interface is used by the TreeControl to
retrieve the hierarchical outline data that is displayed in the actual control.
If you implement your own XTreeDataModel you need to notify registered
XTreeDataModelListener if your model changes after the control is created.
If this is not done correctly the TreeControl will not update the data properly.
If you do not need your own model implementation, you can also use the MutableTreeDataModel.
|
Methods' Details |
getRoot
- Description
- Returns the root of the tree.
Returns null only if the tree has no nodes.
- Returns
- the root of the tree
|
|
addTreeDataModelListener
- Description
- Adds a listener for the TreeDataModelEvent posted after the tree changes.
- Parameter Listener
- the listener to add.
|
|
removeTreeDataModelListener
- Description
- Removes a listener previously added with addTreeDataModelListener().
- Parameter Listener
- the listener to remove.
|
|
Top of Page
Copyright © 2000, 2012 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.