Package io.jmix.flowui.data.grid
Class ContainerTreeDataGridItems<E>
java.lang.Object
com.vaadin.flow.data.provider.AbstractDataProvider<T,Void>
io.jmix.flowui.data.grid.ContainerDataGridItems<E>
io.jmix.flowui.data.grid.ContainerTreeDataGridItems<E>
- All Implemented Interfaces:
com.vaadin.flow.data.provider.DataProvider<E,
,Void> com.vaadin.flow.data.provider.hierarchy.HierarchicalDataProvider<E,
,Void> ContainerDataUnit<E>
,DataUnit
,EntityDataUnit
,DataGridItems<E>
,DataGridItems.Sortable<E>
,EntityDataGridItems<E>
,TreeDataGridItems<E>
,HasType<E>
,Serializable
public class ContainerTreeDataGridItems<E>
extends ContainerDataGridItems<E>
implements TreeDataGridItems<E>, com.vaadin.flow.data.provider.hierarchy.HierarchicalDataProvider<E,Void>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.data.grid.DataGridItems
DataGridItems.ItemSetChangeEvent<T>, DataGridItems.SelectedItemChangeEvent<T>, DataGridItems.Sortable<T>, DataGridItems.ValueChangeEvent<T>
Nested classes/interfaces inherited from interface io.jmix.flowui.data.DataUnit
DataUnit.StateChangeEvent
-
Field Summary
Fields inherited from class io.jmix.flowui.data.grid.ContainerDataGridItems
container, suppressSorting
-
Constructor Summary
ConstructorDescriptionContainerTreeDataGridItems
(CollectionContainer<E> container, String hierarchyProperty) ContainerTreeDataGridItems
(CollectionContainer<E> container, String hierarchyProperty, boolean showOrphans) -
Method Summary
Modifier and TypeMethodDescriptionfetchChildren
(com.vaadin.flow.data.provider.hierarchy.HierarchicalQuery<E, Void> query) int
getChildCount
(com.vaadin.flow.data.provider.hierarchy.HierarchicalQuery<E, Void> query) getChildren
(E item) int
protected E
boolean
hasChildren
(E item) Methods inherited from class io.jmix.flowui.data.grid.ContainerDataGridItems
addItemSetChangeListener, addSelectedItemChangeListener, addStateChangeListener, addValueChangeListener, containerCollectionChanged, containerItemChanged, containerItemPropertyChanged, containsItem, createSort, enableSorting, fetch, getContainer, getEntityMetaClass, getEventBus, getItem, getItems, getItemValue, getSelectedItem, getState, getType, initContainer, isInMemory, resetSortOrder, setSelectedItem, size, sort, suppressSorting
Methods inherited from class com.vaadin.flow.data.provider.AbstractDataProvider
addDataProviderListener, addListener, fireEvent, refreshAll, refreshItem, refreshItem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.flowui.data.grid.DataGridItems
addItemSetChangeListener, addSelectedItemChangeListener, addValueChangeListener, containsItem, getItem, getItems, getItemValue, getSelectedItem, setSelectedItem
Methods inherited from interface com.vaadin.flow.data.provider.DataProvider
addDataProviderListener, getId, isInMemory, refreshAll, refreshItem, refreshItem
Methods inherited from interface io.jmix.flowui.data.DataUnit
addStateChangeListener, getState
Methods inherited from interface com.vaadin.flow.data.provider.hierarchy.HierarchicalDataProvider
fetch, size, withConfigurableFilter, withConfigurableFilter, withConvertedFilter
-
Field Details
-
hierarchyProperty
-
showOrphans
protected final boolean showOrphans
-
-
Constructor Details
-
ContainerTreeDataGridItems
-
ContainerTreeDataGridItems
public ContainerTreeDataGridItems(CollectionContainer<E> container, String hierarchyProperty, boolean showOrphans)
-
-
Method Details
-
getChildCount
-
fetchChildren
-
getChildren
-
hasChildren
-
getLevel
-
getParent
-