Class EmptyTreeDataGridItems<T>

java.lang.Object
com.vaadin.flow.data.provider.AbstractDataProvider<T,Void>
io.jmix.flowui.data.grid.EmptyDataGridItems<T>
io.jmix.flowui.data.grid.EmptyTreeDataGridItems<T>
All Implemented Interfaces:
com.vaadin.flow.data.provider.DataProvider<T,Void>, com.vaadin.flow.data.provider.hierarchy.HierarchicalDataProvider<T,Void>, DataUnit, EmptyDataUnit, EntityDataUnit, DataGridItems<T>, DataGridItems.Sortable<T>, EntityDataGridItems<T>, TreeDataGridItems<T>, HasType<T>, Serializable

public class EmptyTreeDataGridItems<T> extends EmptyDataGridItems<T> implements TreeDataGridItems<T>, com.vaadin.flow.data.provider.hierarchy.HierarchicalDataProvider<T,Void>
See Also:
  • Constructor Details

    • EmptyTreeDataGridItems

      public EmptyTreeDataGridItems(MetaClass metaClass)
  • Method Details

    • getChildCount

      public int getChildCount(com.vaadin.flow.data.provider.hierarchy.HierarchicalQuery<T,Void> query)
      Specified by:
      getChildCount in interface com.vaadin.flow.data.provider.hierarchy.HierarchicalDataProvider<T,Void>
    • fetchChildren

      public Stream<T> fetchChildren(com.vaadin.flow.data.provider.hierarchy.HierarchicalQuery<T,Void> query)
      Specified by:
      fetchChildren in interface com.vaadin.flow.data.provider.hierarchy.HierarchicalDataProvider<T,Void>
    • hasChildren

      public boolean hasChildren(T item)
      Specified by:
      hasChildren in interface com.vaadin.flow.data.provider.hierarchy.HierarchicalDataProvider<T,Void>