diff options
Diffstat (limited to 'documentation/components/components-tree.asciidoc')
-rw-r--r-- | documentation/components/components-tree.asciidoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/components/components-tree.asciidoc b/documentation/components/components-tree.asciidoc index ef1def1beb..28986740d8 100644 --- a/documentation/components/components-tree.asciidoc +++ b/documentation/components/components-tree.asciidoc @@ -29,7 +29,7 @@ image::img/tree-basic.png[width=70%, scaledwidth=100%] == Binding to Data [classname]#Tree# is used by binding it to a hierarchical data provider. The data provider can be based on in-memory or back end data. For in-memory data, the [classname]#TreeDataProvider# can be used, and for loading data from a back end, you need to implement three methods from the [interfacename]#HierarchicalDataProvider# interface. Usage of both data providers is described in -<<dummy/../../../framework/datamodel/datamodel-hierarchical.asciidoc#datamodel.hierarchical,"Hierarchical Data">>. +<<../datamodel/datamodel-hierarchical.asciidoc#datamodel.hierarchical,"Hierarchical Data">>. The [classname]#TreeData# class can be used to build the hierarchical data structure, @@ -81,7 +81,7 @@ The caption and the icon of tree items is generated by the [classname]#ItemCapti == Handling Selection and Clicks [classname]#Tree# supports single selection mode, you can use [methodname]#asSingleSelect()# to access the selection -object, which supports selection listeners and data binding. For more details, see link:<<dummy/../../../framework/datamodel/datamodel-selection.asciidoc#datamodel.selection,"Selecting Items">>. +object, which supports selection listeners and data binding. For more details, see link:<<../datamodel/datamodel-selection.asciidoc#datamodel.selection,"Selecting Items">>. The [classname]#Tree# also supports the shortcut method [methodname]#addSelectionListener()#. [classname]#Tree# also emits [classname]##ItemClickEvent##s when items are clicked. |