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.
|
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
|
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`
|
|
Copyright © 2020, 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.