Class AbstractGridLoader<T extends com.vaadin.flow.component.grid.Grid<?> & EnhancedDataGrid<?> & HasActions>

java.lang.Object
io.jmix.flowui.xml.layout.loader.AbstractComponentLoader<T>
io.jmix.flowui.xml.layout.loader.component.AbstractGridLoader<T>
All Implemented Interfaces:
ComponentLoader<T>
Direct Known Subclasses:
DataGridLoader, TreeDataGridLoader

public abstract class AbstractGridLoader<T extends com.vaadin.flow.component.grid.Grid<?> & EnhancedDataGrid<?> & HasActions> extends AbstractComponentLoader<T>
  • Field Details

  • Constructor Details

    • AbstractGridLoader

      public AbstractGridLoader()
  • Method Details

    • loadComponent

      public void loadComponent()
      Description copied from interface: ComponentLoader
      Loads component properties by XML definition.
      See Also:
    • loadData

      protected void loadData()
    • loadColumns

      protected void loadColumns(T resultComponent, org.dom4j.Element columnsElement, MetaClass metaClass, FetchPlan fetchPlan)
    • loadColumnsByInclude

      protected void loadColumnsByInclude(T component, org.dom4j.Element columnsElement, MetaClass metaClass, FetchPlan fetchPlan)
    • loadColumn

      protected void loadColumn(T component, org.dom4j.Element element, MetaClass metaClass)
    • getAppliedProperties

      protected Collection<String> getAppliedProperties(org.dom4j.Element columnsElement, @Nullable FetchPlan fetchPlan, MetaClass metaClass)
    • getOverriddenColumn

      @Nullable protected org.dom4j.Element getOverriddenColumn(List<org.dom4j.Element> columns, String property)
    • loadMetaClass

      protected void loadMetaClass(org.dom4j.Element element, Consumer<MetaClass> setter)
    • initMasterDataLoaderListener

      protected void initMasterDataLoaderListener(CollectionPropertyContainer<?> collectionContainer)
    • initDataGridDataHolder

      protected AbstractGridLoader.GridDataHolder initDataGridDataHolder()
    • onMasterDataLoaderPostLoad

      protected void onMasterDataLoaderPostLoad(Object o)
    • getFetchPlanRepository

      protected FetchPlanRepositoryImpl getFetchPlanRepository()
    • getActionLoaderSupport

      protected ActionLoaderSupport getActionLoaderSupport()
    • getMetaDataTools

      protected MetadataTools getMetaDataTools()
    • setupDataProvider

      protected abstract void setupDataProvider(AbstractGridLoader.GridDataHolder holder)