Overview | Module | Use | Devguide | Index

Services' Summary | Interfaces' Summary | Properties' Summary | Services' Details | Interfaces' Details | Properties' Details

:: com :: sun :: star :: awt :: tree ::
unpublished | service TreeControlModel |
Usage Restrictions not published Description specifies the standard model of a TreeControl.

Included Services - Summary
::com::sun::star::awt::UnoControlModel | specifies the standard model of an ::com::sun::star::awt::UnoControl.

Properties' Summary
::com::sun::star::view::SelectionType SelectionType | Specifies the selection mode that is enabled for this tree.
XTreeDataModel DataModel | Specifies the XTreeDataModel that is providing the hierarchical data.
boolean RootDisplayed | Specifies if the root node of the tree is displayed.
boolean ShowsHandles | Specifies whether the node handles should be displayed.
boolean ShowsRootHandles | Specifies whether the node handles should also be displayed at root level.
long RowHeight | Specifies the height of each row, in pixels.
boolean Editable | Specifies whether the nodes of the tree are editable.
boolean InvokesStopNodeEditing | Specifies what happens when editing is interrupted by selecting another node in the tree, a change in the tree's data, or by some other means.

Included Services - Details
::com::sun::star::awt::UnoControlModel
Description specifies the standard model of an ::com::sun::star::awt::UnoControl.

Properties' Details
SelectionType
::com::sun::star::view::SelectionType SelectionType; Description Specifies the selection mode that is enabled for this tree. The default value is ::com::sun::star::view::SelectionType::NONE
DataModel
XTreeDataModel DataModel; Description Specifies the XTreeDataModel that is providing the hierarchical data. You can implement your own instance of XTreeDataModel or use the MutableTreeDataModel.
RootDisplayed
boolean RootDisplayed; Description Specifies if the root node of the tree is displayed. If RootDisplayed is set to false, the root node of a model is no longer a valid node for the XTreeControl and can't be used with any method of XTreeControl. The default value is true
ShowsHandles
boolean ShowsHandles; Description Specifies whether the node handles should be displayed. The handles are doted lines that visualize the tree like hierarchy The default value is true
ShowsRootHandles
boolean ShowsRootHandles; Description Specifies whether the node handles should also be displayed at root level. The default value is true
RowHeight
long RowHeight; Description Specifies the height of each row, in pixels. If the specified value is less than or equal to zero, the row height is the maximum height of all rows. The default value is 0
Editable
boolean Editable; Description Specifies whether the nodes of the tree are editable. The default value is false See also XTreeControl::startEditingAtNode(), XTreeEditListener
InvokesStopNodeEditing
boolean InvokesStopNodeEditing; Description Specifies what happens when editing is interrupted by selecting another node in the tree, a change in the tree's data, or by some other means. Setting this property to true causes the changes to be automatically saved when editing is interrupted. false means that editing is canceled and changes are lost The default value is false

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.