| Package | Description |
|---|---|
| org.dominokit.domino.ui.collapsible | |
| org.dominokit.domino.ui.tree | |
| org.dominokit.domino.ui.utils |
| Constructor and Description |
|---|
TreeHeightCollapseStrategy(TreeItem<?> treeItem) |
TreeHeightCollapseStrategy(TreeItem<?> treeItem,
CollapseDuration transition) |
| Modifier and Type | Method and Description |
|---|---|
TreeItem<T> |
TreeItem.addClickListener(elemental2.dom.EventListener listener) |
TreeItem<T> |
TreeItem.addHideListener(Collapsible.HideCompletedHandler handler) |
TreeItem<T> |
TreeItem.addSeparator()
Adds new separator
|
TreeItem<T> |
TreeItem.addShowListener(Collapsible.ShowCompletedHandler handler) |
TreeItem<T> |
TreeItem.appendChild(TreeItem<T> treeItem)
Adds a child item to this one
|
TreeItem<T> |
TreeItem.clearIndicator()
Clears the content indicator
|
static TreeItem<String> |
TreeItem.create(BaseIcon<?> icon)
Creates new tree item with an icon
|
static <T> TreeItem<T> |
TreeItem.create(BaseIcon<?> icon,
T value)
Creates new tree item with an icon and a value
|
static TreeItem<String> |
TreeItem.create(String title)
Creates new tree item with a title
|
static TreeItem<String> |
TreeItem.create(String title,
BaseIcon<?> icon)
Creates new tree item with a title and an icon
|
static <T> TreeItem<T> |
TreeItem.create(String title,
BaseIcon<?> icon,
T value)
Creates new tree item with a title, an icon and a value
|
static <T> TreeItem<T> |
TreeItem.create(String title,
T value)
Creates new tree item with a title and a value
|
TreeItem<T> |
TreeItem.expand()
Expands the tree item
|
TreeItem<T> |
TreeItem.expand(boolean expandParent)
Expands the tree item
|
TreeItem<T> |
TreeItem.getActiveItem() |
TreeItem<T> |
Tree.getActiveItem() |
TreeItem<T> |
TreeItem.hide()
Hides the item if it is visible
|
TreeItem<T> |
TreeItem.remove()
removes the element from the DOM tree
|
TreeItem<T> |
TreeItem.removeHideListener(Collapsible.HideCompletedHandler handler) |
TreeItem<T> |
TreeItem.removeShowListener(Collapsible.ShowCompletedHandler handler) |
TreeItem<T> |
TreeItem.setActiveIcon(BaseIcon<?> activeIcon)
Sets the icon that will be shown when the item is active
|
TreeItem<T> |
TreeItem.setExpandIcon(BaseIcon<?> expandIcon)
Sets the expand icon
|
TreeItem<T> |
TreeItem.setIcon(BaseIcon<?> icon)
Sets the icon of the item
|
TreeItem<T> |
TreeItem.setIndicatorContent(org.jboss.elemento.IsElement<?> element)
Sets the content indicator for this item
|
TreeItem<T> |
TreeItem.setIndicatorContent(elemental2.dom.Node indicatorContent)
Sets the content indicator for this item
|
TreeItem<T> |
TreeItem.setLevel(int level)
Sets the level of this item
|
TreeItem<T> |
TreeItem.setLevelPadding(int levelPadding)
Sets the level padding of this item
|
TreeItem<T> |
TreeItem.setTitle(String title)
Change the title of a TreeItem, If the TreeItem was created without a value and the title is
used as a value then it will not change when the title is changed to change the value a call to
#setValue(T) should be called |
TreeItem<T> |
TreeItem.setToggleTarget(ToggleTarget toggleTarget)
Sets what is the target for toggling an item
|
TreeItem<T> |
TreeItem.show()
Show the item if it is hidden
|
TreeItem<T> |
TreeItem.show(boolean expandParent)
Shows the item
|
TreeItem<T> |
TreeItem.toggleDisplay()
if the component is visible hide it, else show it
|
| Modifier and Type | Method and Description |
|---|---|
List<TreeItem<T>> |
Tree.getActivePath() |
TreeItemFilter<TreeItem<T>> |
TreeItem.getFilter() |
TreeItemFilter<TreeItem<T>> |
Tree.getFilter() |
Optional<TreeItem<T>> |
TreeItem.getParent() |
Optional<TreeItem<T>> |
Tree.getParent() |
List<TreeItem<T>> |
TreeItem.getPath() |
List<TreeItem<T>> |
TreeItem.getSubItems() |
List<TreeItem<T>> |
Tree.getSubItems() |
| Modifier and Type | Method and Description |
|---|---|
TreeItem<T> |
TreeItem.appendChild(TreeItem<T> treeItem)
Adds a child item to this one
|
Tree<T> |
Tree.appendChild(TreeItem<T> treeItem)
Adds a new tree item
|
void |
Tree.ItemClickListener.onTreeItemClicked(TreeItem<T> treeItem) |
void |
TreeItem.removeItem(TreeItem<T> item)
Removes item
|
void |
Tree.removeItem(TreeItem<T> item)
Removes item
|
void |
TreeItem.setActiveItem(TreeItem<T> activeItem)
Activates the item representing the value
|
void |
Tree.setActiveItem(TreeItem<T> activeItem)
Activates the item representing the value
|
void |
TreeItem.setActiveItem(TreeItem<T> activeItem,
boolean silent)
Activates the item representing the value
|
void |
Tree.setActiveItem(TreeItem<T> activeItem,
boolean silent)
Activates the item representing the value
|
| Modifier and Type | Method and Description |
|---|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
CollapseStrategy |
DominoUIConfig.TreeCollapseSupplier.get(TreeItem<?> treeItem) |
Copyright © 2019–2022 Dominokit. All rights reserved.