Class AbstractDataGridLoader<T extends DataGrid>

All Implemented Interfaces:
ComponentLoader<T>
Direct Known Subclasses:
DataGridLoader, TreeDataGridLoader

public abstract class AbstractDataGridLoader<T extends DataGrid> extends ActionsHolderLoader<T>
  • Field Details

  • Constructor Details

    • AbstractDataGridLoader

      public AbstractDataGridLoader()
  • Method Details

    • createComponent

      public void createComponent()
      Description copied from interface: ComponentLoader
      Creates result component by XML-element and loads its Id. Also creates all nested components.
      See Also:
    • createComponentInternal

      protected abstract T createComponentInternal()
    • createButtonsPanel

      protected void createButtonsPanel(HasButtonsPanel dataGrid, org.dom4j.Element element)
    • loadComponent

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

      protected void loadDataGridData()
    • initDataGridDataHolder

      protected AbstractDataGridLoader.DataGridDataHolder initDataGridDataHolder()
    • initMasterDataLoaderListener

      protected void initMasterDataLoaderListener(CollectionPropertyContainer collectionContainer)
    • onMasterDataLoaderPostLoad

      protected void onMasterDataLoaderPostLoad(Object o)
    • setColumnSort

      protected void setColumnSort()
    • setupDataContainer

      protected void setupDataContainer(AbstractDataGridLoader.DataGridDataHolder holder)
    • getMetadata

      protected Metadata getMetadata()
    • getViewRepository

      protected FetchPlanRepository getViewRepository()
    • createContainerDataGridSource

      protected DataGridItems createContainerDataGridSource(CollectionContainer container)
    • createEmptyDataGridItems

      protected DataGridItems createEmptyDataGridItems(MetaClass metaClass)
    • loadEditorEnabled

      protected void loadEditorEnabled(DataGrid component, org.dom4j.Element element)
    • loadEditorBuffered

      protected void loadEditorBuffered(DataGrid component, org.dom4j.Element element)
    • loadEditorSaveCaption

      protected void loadEditorSaveCaption(DataGrid component, org.dom4j.Element element)
    • loadEditorCancelCaption

      protected void loadEditorCancelCaption(DataGrid component, org.dom4j.Element element)
    • loadEditorCrossFieldEnabled

      protected void loadEditorCrossFieldEnabled(DataGrid component, org.dom4j.Element element)
    • loadColumnsHidingAllowed

      protected void loadColumnsHidingAllowed(DataGrid component, org.dom4j.Element element)
    • loadColumnResizeMode

      protected void loadColumnResizeMode(DataGrid component, org.dom4j.Element element)
    • loadSortable

      protected void loadSortable(DataGrid component, org.dom4j.Element element)
    • loadReorderingAllowed

      protected void loadReorderingAllowed(DataGrid component, org.dom4j.Element element)
    • loadTextSelectionEnabled

      protected void loadTextSelectionEnabled(DataGrid dataGrid, org.dom4j.Element element)
    • loadBodyRowHeight

      protected void loadBodyRowHeight(DataGrid dataGrid, org.dom4j.Element element)
    • loadHeaderRowHeight

      protected void loadHeaderRowHeight(DataGrid dataGrid, org.dom4j.Element element)
    • loadFooterRowHeight

      protected void loadFooterRowHeight(DataGrid dataGrid, org.dom4j.Element element)
    • loadHeaderVisible

      protected void loadHeaderVisible(DataGrid component, org.dom4j.Element element)
    • loadFooterVisible

      protected void loadFooterVisible(DataGrid component, org.dom4j.Element element)
    • loadContextMenuEnabled

      protected void loadContextMenuEnabled(DataGrid dataGrid, org.dom4j.Element element)
    • loadButtonsPanel

      protected void loadButtonsPanel(DataGrid component)
    • loadPagination

      protected void loadPagination(DataGrid component, org.dom4j.Element element)
    • loadColumnsByInclude

      protected List<DataGrid.Column> loadColumnsByInclude(DataGrid component, org.dom4j.Element columnsElement, MetaClass metaClass, FetchPlan fetchPlan)
    • loadColumns

      protected List<DataGrid.Column> loadColumns(DataGrid component, org.dom4j.Element columnsElement, MetaClass metaClass, FetchPlan view)
    • loadColumn

      protected DataGrid.Column loadColumn(DataGrid component, org.dom4j.Element element, MetaClass metaClass)
    • loadColumnVisualDisplay

      protected void loadColumnVisualDisplay(DataGrid.Column column, org.dom4j.Element columnElement)
    • loadRenderer

      @Nullable protected DataGrid.Renderer loadRenderer(org.dom4j.Element columnElement)
    • loadRendererByClass

      protected DataGrid.Renderer loadRendererByClass(org.dom4j.Element rendererElement, Class<? extends DataGrid.Renderer> rendererClass)
    • loadNullRepresentation

      protected void loadNullRepresentation(org.dom4j.Element rendererElement, DataGrid.HasNullRepresentation renderer)
    • loadFormatPattern

      protected void loadFormatPattern(org.dom4j.Element rendererElement, DataGrid.HasDateTimeFormatter renderer)
    • loadFormatString

      protected void loadFormatString(org.dom4j.Element rendererElement, DataGrid.HasFormatString renderer)
    • loadCaption

      @Nullable protected String loadCaption(org.dom4j.Element element)
    • loadSizeInPx

      @Nullable protected Integer loadSizeInPx(org.dom4j.Element element, String propertyName)
    • getMetadataTools

      protected MetadataTools getMetadataTools()
    • loadSelectionMode

      protected void loadSelectionMode(DataGrid component, org.dom4j.Element element)
    • loadFrozenColumnCount

      protected void loadFrozenColumnCount(DataGrid component, org.dom4j.Element element)
    • 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)
    • loadColumnSort

      protected void loadColumnSort(DataGrid component, DataGrid.Column column, String sort)
    • loadEmptyStateMessage

      protected void loadEmptyStateMessage(DataGrid dataGrid, org.dom4j.Element element)
    • loadEmptyStateLinkMessage

      protected void loadEmptyStateLinkMessage(DataGrid dataGrid, org.dom4j.Element element)
    • loadAggregatable

      protected void loadAggregatable(DataGrid component, org.dom4j.Element element)
    • loadAggregationPosition

      protected void loadAggregationPosition(DataGrid component, org.dom4j.Element element)
    • loadAggregation

      protected void loadAggregation(DataGrid.Column column, org.dom4j.Element columnElement)
    • loadAggregationType

      protected void loadAggregationType(AggregationInfo aggregation, org.dom4j.Element aggregationElement)
    • loadValueDescription

      protected void loadValueDescription(DataGrid.Column column, org.dom4j.Element aggregationElement)
    • loadStrategyClass

      protected void loadStrategyClass(AggregationInfo aggregation, org.dom4j.Element aggregationElement)