LibreOffice
LibreOffice 24.2 SDK API Reference
|
If you do not want to implement the XTreeDataModel yourself, use this service. More...
Additional Inherited Members | |
![]() | |
XMutableTreeNode | createNode ([in] any DisplayValue, [in] boolean ChildrenOnDemand) |
creates a new tree node with the given value and given settings. | |
void | setRoot ([in] XMutableTreeNode RootNode) raises ( ::com::sun::star::lang::IllegalArgumentException ) |
changes the root node of this model to RootNode. | |
![]() | |
XTreeNode | getRoot () |
Returns the root of the tree. | |
void | addTreeDataModelListener ([in] XTreeDataModelListener Listener) |
Adds a listener for the TreeDataModelEvent posted after the tree changes. | |
void | removeTreeDataModelListener ([in] XTreeDataModelListener Listener) |
Removes a listener previously added with addTreeDataModelListener(). | |
![]() | |
void | dispose () |
The owner of an object calls this method to explicitly free all resources kept by this object and thus break cyclic references. | |
void | addEventListener ([in] XEventListener xListener) |
adds an event listener to the object. | |
void | removeEventListener ([in] XEventListener aListener) |
removes an event listener from the listener list. | |
![]() | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. | |
void | acquire () |
increases the reference counter by one. | |
void | release () |
decreases the reference counter by one. | |
If you do not want to implement the XTreeDataModel yourself, use this service.
This implementation uses MutableTreeNode for its nodes.