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>
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Contains information about metaClass, data container, loader, fetch plan.Nested classes/interfaces inherited from interface io.jmix.flowui.xml.layout.ComponentLoader
ComponentLoader.ComponentContext, ComponentLoader.Context, ComponentLoader.InitTask
-
Field Summary
Modifier and TypeFieldDescriptionprotected ActionLoaderSupport
protected FetchPlanRepositoryImpl
protected Subscription
protected MetadataTools
Fields inherited from class io.jmix.flowui.xml.layout.loader.AbstractComponentLoader
applicationContext, componentLoaderSupport, context, element, environment, factory, loaderResolver, loaderSupport, resultComponent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ActionLoaderSupport
protected Collection<String>
getAppliedProperties
(org.dom4j.Element columnsElement, FetchPlan fetchPlan, MetaClass metaClass) protected FetchPlanRepositoryImpl
protected MetadataTools
protected org.dom4j.Element
getOverriddenColumn
(List<org.dom4j.Element> columns, String property) protected AbstractGridLoader.GridDataHolder
protected void
initMasterDataLoaderListener
(CollectionPropertyContainer<?> collectionContainer) protected void
loadColumn
(T component, org.dom4j.Element element, MetaClass metaClass) protected void
loadColumns
(T resultComponent, org.dom4j.Element columnsElement, MetaClass metaClass, FetchPlan fetchPlan) protected void
loadColumnsByInclude
(T component, org.dom4j.Element columnsElement, MetaClass metaClass, FetchPlan fetchPlan) void
Loads component properties by XML definition.protected void
loadData()
protected void
loadMetaClass
(org.dom4j.Element element, Consumer<MetaClass> setter) protected void
protected abstract void
Methods inherited from class io.jmix.flowui.xml.layout.loader.AbstractComponentLoader
componentLoader, createComponent, getComponentContext, getContext, getElement, getFactory, getLayoutLoader, getLoaderResolver, getLoaderSupport, getResultComponent, initComponent, loadBoolean, loadBoolean, loadDouble, loadDouble, loadEnum, loadEnum, loadId, loadInteger, loadInteger, loadResourceString, loadResourceString, loadString, loadString, loadVisible, setApplicationContext, setContext, setElement, setEnvironment, setFactory, setLoaderResolver, setLoaderSupport
-
Field Details
-
actionLoaderSupport
-
metaDataTools
-
masterDataLoaderPostLoadListener
-
fetchPlanRepository
-
-
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
-
loadColumnsByInclude
-
loadColumn
-
getAppliedProperties
protected Collection<String> getAppliedProperties(org.dom4j.Element columnsElement, @Nullable FetchPlan fetchPlan, MetaClass metaClass) -
getOverriddenColumn
-
loadMetaClass
-
initMasterDataLoaderListener
-
initDataGridDataHolder
-
onMasterDataLoaderPostLoad
-
getFetchPlanRepository
-
getActionLoaderSupport
-
getMetaDataTools
-
setupDataProvider
-