:: com :: sun :: star :: awt :: tree ::
|
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.
|
|
- 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 © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.