Package io.jmix.ui.xml.layout.loader
Class AbstractTableLoader<T extends Table>
java.lang.Object
io.jmix.ui.xml.layout.loader.AbstractComponentLoader<T>
io.jmix.ui.xml.layout.loader.ActionsHolderLoader<T>
io.jmix.ui.xml.layout.loader.AbstractTableLoader<T>
- All Implemented Interfaces:
 ComponentLoader<T>
- Direct Known Subclasses:
 GroupTableLoader,TableLoader,TreeTableLoader
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classContains information about metaclass, data container, loader, fetch plan.Nested classes/interfaces inherited from interface io.jmix.ui.xml.layout.ComponentLoader
ComponentLoader.ComponentContext, ComponentLoader.CompositeComponentContext, ComponentLoader.Context, ComponentLoader.InitTask, ComponentLoader.InjectTask - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ComponentLoaderprotected Subscriptionprotected org.dom4j.Elementprotected Table.SortDirectionprotected StringFields inherited from class io.jmix.ui.xml.layout.loader.AbstractComponentLoader
applicationContext, context, element, environment, factory, layoutLoaderConfig, loaderResolver, loaderSupport, resultComponent - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateButtonsPanel(T table, org.dom4j.Element element) protected ContainerTableItemscreateContainerTableSource(CollectionContainer container) protected TableItemscreateEmptyTableItems(MetaClass metaClass) protected Collection<String>getAppliedProperties(org.dom4j.Element columnsElement, FetchPlan fetchPlan, MetaClass metaClass) protected Metadataprotected MetadataToolsprotected org.dom4j.ElementgetOverriddenColumn(List<org.dom4j.Element> columns, String property) protected FetchPlanRepositoryprotected voidinitMasterDataLoaderListener(CollectionPropertyContainer collectionContainer) protected AbstractTableLoader.TableDataHolderprotected voidloadAggregatable(Table component, org.dom4j.Element element) protected voidloadAggregation(Table.Column column, org.dom4j.Element columnElement) protected voidloadAggregationStyle(Table component, org.dom4j.Element element) protected voidloadButtonsPanel(T component) protected voidloadCaptionAsHtml(Table.Column component, org.dom4j.Element element) protected Table.ColumnloadColumn(Table component, org.dom4j.Element element, MetaClass metaClass) protected voidloadColumnControlVisible(Table component, org.dom4j.Element element) protected voidloadColumnHeaderVisible(Table component, org.dom4j.Element element) protected ObjectloadColumnId(org.dom4j.Element element, MetaClass metaClass) protected List<Table.Column>loadColumns(Table component, org.dom4j.Element columnsElement, MetaClass metaClass, FetchPlan fetchPlan) protected List<Table.Column>loadColumnsByInclude(Table component, org.dom4j.Element columnsElement, MetaClass metaClass, FetchPlan fetchPlan) protected voidloadColumnSort(Table.Column column, String sort) voidLoads component properties by XML definition.protected voidloadContextMenuEnabled(Table table, org.dom4j.Element element) protected voidloadEmptyStateLinkMessage(Table table, org.dom4j.Element element) protected voidloadEmptyStateMessage(Table table, org.dom4j.Element element) protected voidloadMaxTextLength(Table.Column column, org.dom4j.Element columnElement) protected voidloadMultiLineCells(Table table, org.dom4j.Element element) protected voidloadPagination(Table table, org.dom4j.Element element) protected voidloadReorderingAllowed(Table component, org.dom4j.Element element) protected voidloadRequired(Table component, Table.Column column) protected voidloadShowSelection(Table component, org.dom4j.Element element) protected voidloadSortable(Table component, org.dom4j.Element element) protected voidprotected voidloadTextSelectionEnabled(Table table, org.dom4j.Element element) protected voidprotected voidprotected voidMethods inherited from class io.jmix.ui.xml.layout.loader.ActionsHolderLoader
loadDeclarativeActionMethods inherited from class io.jmix.ui.xml.layout.loader.AbstractComponentLoader
assignFrame, assignXmlDescriptor, findComponent, getActions, getClassManager, getComponentContext, getCompositeComponentContext, getContext, getElement, getFactory, getIconPath, getLayoutLoader, getLayoutLoader, getLayoutLoaderConfig, getLoaderResolver, getLoaderSupport, getMessages, getMessageTools, getMeterRegistry, getParentDataContainer, getProperties, getResultComponent, getTheme, initAction, loadAction, loadActionConstraint, loadActionId, loadActions, loadAlign, loadBoolean, loadBoolean, loadBorder, loadCaption, loadCaptionAsHtml, loadCollapsible, loadContainer, loadContainer, loadContextHelp, loadCss, loadData, loadDeclarativeActionByType, loadDeclarativeActionDefault, loadDescription, loadDescriptionAsHtml, loadEditable, loadEnable, loadEnum, loadEnum, loadFocusable, loadFormatter, loadFormatter, loadHeight, loadHeight, loadHtmlSanitizerEnabled, loadIcon, loadId, loadInputPrompt, loadInteger, loadInteger, loadMargin, loadMetaClass, loadMetaClass, loadMinHeight, loadMinHeight, loadMinWidth, loadMinWidth, loadOptionsContainer, loadOrientation, loadRequired, loadRequiredIndicatorVisible, loadResourceString, loadResponsive, loadShortcut, loadShortcutFromAlias, loadShortcutFromConfig, loadShortcutFromFQNConfig, loadString, loadString, loadStyleName, loadTabIndex, loadThemeInt, loadThemeString, loadValidation, loadValuePickerDeclarativeAction, loadVisible, loadWidth, loadWidth, parseMarginInfo, setApplicationContext, setContext, setElement, setEnvironment, setFactory, setLayoutLoaderConfig, setLoaderResolver, setLoaderSupportMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.ui.xml.layout.ComponentLoader
createComponent 
- 
Field Details
- 
buttonsPanelLoader
 - 
panelElement
protected org.dom4j.Element panelElement - 
sortedColumnId
 - 
sortDirection
 - 
masterDataLoaderPostLoadListener
 
 - 
 - 
Constructor Details
- 
AbstractTableLoader
public AbstractTableLoader() 
 - 
 - 
Method Details
- 
loadComponent
public void loadComponent()Description copied from interface:ComponentLoaderLoads component properties by XML definition.- See Also:
 
 - 
loadTableData
protected void loadTableData() - 
initTableDataHolder
 - 
initMasterDataLoaderListener
 - 
onMasterDataLoaderPostLoad
 - 
setColumnSort
protected void setColumnSort() - 
setupDataContainer
 - 
getMetadata
 - 
getViewRepository
 - 
createContainerTableSource
 - 
createEmptyTableItems
 - 
getMetadataTools
 - 
loadTextSelectionEnabled
 - 
loadMultiLineCells
 - 
loadContextMenuEnabled
 - 
loadPagination
 - 
loadColumnsByInclude
protected List<Table.Column> loadColumnsByInclude(Table component, org.dom4j.Element columnsElement, MetaClass metaClass, FetchPlan fetchPlan)  - 
loadColumns
protected List<Table.Column> loadColumns(Table component, org.dom4j.Element columnsElement, MetaClass metaClass, FetchPlan fetchPlan)  - 
loadAggregatable
 - 
loadAggregationStyle
 - 
createButtonsPanel
 - 
loadButtonsPanel
 - 
loadRequired
 - 
loadColumn
 - 
loadColumnId
 - 
loadCaptionAsHtml
 - 
loadAggregation
 - 
loadMaxTextLength
 - 
loadSortable
 - 
loadReorderingAllowed
 - 
loadColumnControlVisible
 - 
loadColumnHeaderVisible
 - 
loadShowSelection
 - 
getAppliedProperties
protected Collection<String> getAppliedProperties(org.dom4j.Element columnsElement, FetchPlan fetchPlan, MetaClass metaClass)  - 
getOverriddenColumn
 - 
loadColumnSort
 - 
loadEmptyStateMessage
 - 
loadEmptyStateLinkMessage
 
 -