Uses of Class
com.vaadin.flow.data.provider.hierarchy.TreeData
Packages that use TreeData
-
Uses of TreeData in com.vaadin.flow.data.provider.hierarchy
Methods in com.vaadin.flow.data.provider.hierarchy that return TreeDataModifier and TypeMethodDescriptionAdds a data item as a child ofparent
.TreeData.addItems
(Collection<T> rootItems, ValueProvider<T, Collection<T>> childItemProvider) Adds the given items as root items and uses the given value provider to recursively populate children of the root items.Adds the given items as root items and uses the given value provider to recursively populate children of the root items.TreeData.addItems
(T parent, Collection<T> items) Adds a list of data items as children ofparent
.Adds data items contained in a stream as children ofparent
.Adds a list of data items as children ofparent
.TreeData.addRootItems
(Collection<T> items) Adds the items of the given collection as root items to this structure.TreeData.addRootItems
(Stream<T> items) Adds the items of the given stream as root items to this structure.TreeData.addRootItems
(T... items) Adds the items as root items to this structure.TreeData.clear()
Clear all items from this structure.HasHierarchicalDataProvider.getTreeData()
Gets the backingTreeData
instance of the data provider, if the data provider is aTreeDataProvider
.TreeDataProvider.getTreeData()
Return the underlying hierarchical data of this provider.TreeData.removeItem
(T item) Remove a given item from this structure.Methods in com.vaadin.flow.data.provider.hierarchy with parameters of type TreeDataModifier and TypeMethodDescriptiondefault void
HasHierarchicalDataProvider.setTreeData
(TreeData<T> treeData) Sets a newTreeDataProvider
wrapping the givenTreeData
.Constructors in com.vaadin.flow.data.provider.hierarchy with parameters of type TreeDataModifierConstructorDescriptionTreeDataProvider
(TreeData<T> treeData) Constructs a new TreeDataProvider.