| Package | Description |
|---|---|
| org.dominokit.domino.ui.tree | |
| org.dominokit.domino.ui.utils |
| Modifier and Type | Method and Description |
|---|---|
Tree<T> |
Tree.addGap()
Adds spaces between items
|
Tree<T> |
Tree.addItemClickListener(Tree.ItemClickListener<T> itemClickListener)
Adds a click listener to be called when item is clicked
|
Tree<T> |
Tree.addSeparator()
Adds a new separator
|
Tree<T> |
Tree.appendChild(TreeItem<T> treeItem)
Adds a new tree item
|
Tree<T> |
Tree.autoExpandFound()
Expand the items found by the search automatically
|
Tree<T> |
Tree.autoHeight()
Sets the height of the tree to be automatic based on the content
|
Tree<T> |
Tree.autoHeight(int offset)
Sets the height of the tree to be automatic based on the content with an offset
|
static Tree<String> |
Tree.create() |
static Tree<String> |
Tree.create(String title) |
static <T> Tree<T> |
Tree.create(String title,
T value) |
static <T> Tree<T> |
Tree.create(T value) |
Tree<T> |
Tree.enableFolding()
Adds the ability to expand/collapse all items
|
Tree<T> |
Tree.enableSearch()
Enables the search
|
Tree<T> |
Tree.expand()
Expands the tree item
|
Tree<T> |
Tree.expand(boolean expandParent)
Expands the tree item
|
Tree |
TreeItem.getTreeRoot() |
Tree<T> |
Tree.getTreeRoot() |
Tree<T> |
Tree.removeItemClickListener(Tree.ItemClickListener<T> itemClickListener)
Removes a click listener
|
Tree<T> |
Tree.setAutoCollapse(boolean autoCollapse)
Sets if item should be collapsed automatically when it is deactivated
|
Tree<T> |
Tree.setCollapseStrategy(CollapseStrategy collapseStrategy) |
Tree<T> |
Tree.setColorScheme(ColorScheme colorScheme)
Sets the color scheme for the tree
|
Tree<T> |
Tree.setFilter(TreeItemFilter<TreeItem<T>> filter)
Sets the filter that will be used when searching items, the default filter searches using the
title of the items
|
Tree<T> |
Tree.setLevelPadding(int levelPadding)
Sets level padding for item
|
Tree<T> |
Tree.setTitle(String title)
Sets the title of the tree
|
Tree<T> |
Tree.setToggleTarget(ToggleTarget toggleTarget)
Sets what is the target for toggling an item
|
| Modifier and Type | Method and Description |
|---|---|
Tree |
ParentTreeItem.getTreeRoot() |
Copyright © 2019–2022 Dominokit. All rights reserved.