public class DefaultCompareViewSectionRenderer extends AbstractWidgetComponentRenderer<TableRowsGroup,Section,PartialRendererData<Collection>>
| Modifier and Type | Class and Description |
|---|---|
protected class |
DefaultCompareViewSectionRenderer.ExpandSectionListener
Deprecated.
since 1808, not used any more
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_LOCALIZED_ATTRIBUTE_EXPAND_STATE_HOLDER |
static String |
MARK_EXPAND_TRIGGER |
static String |
MARK_LOCALIZED_ATTRIBUTE_EXPAND_TRIGGER |
| Constructor and Description |
|---|
DefaultCompareViewSectionRenderer() |
addRendererListener, fireComponentRendered, fireComponentRendered, fireComponentRendered, removeRendererListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrenderpublic static final String MARK_LOCALIZED_ATTRIBUTE_EXPAND_TRIGGER
public static final String MARK_EXPAND_TRIGGER
public static final String ATTRIBUTE_LOCALIZED_ATTRIBUTE_EXPAND_STATE_HOLDER
public void render(TableRowsGroup parent, Section configuration, PartialRendererData<Collection> data, DataType dataType, WidgetInstanceManager widgetInstanceManager)
WidgetComponentRendererparent - parent component on which to renderconfiguration - configuration of rendererdata - data to be rendereddataType - meta information about type of data providedwidgetInstanceManager - widget manager in scope of which renderer is usedprotected void renderSectionHeader(TableRowsGroup parent, TableRow row, Section configuration, PartialRendererData<Collection> data, DataType dataType, WidgetInstanceManager widgetInstanceManager)
protected void sectionHeaderRendered(TableRowsGroup parent, TableRow row, Section configuration, PartialRendererData<Collection> data, DataType dataType, WidgetInstanceManager widgetInstanceManager)
protected void updateSectionHeaderDifferentMark(Section configuration, TableRow tableRow, PartialRendererData<Collection> data)
@Deprecated protected void handleSectionExpandStateChangeRequested(TableRowsGroup parent, Section configuration, PartialRendererData<Collection> data, DataType dataType, WidgetInstanceManager widgetInstanceManager)
handleSectionExpandStateChangeRequested(TableRowsGroup, TableRow, Section, PartialRendererData, DataType, WidgetInstanceManager, Object)protected void handleSectionExpandStateChangeRequested(TableRowsGroup parent, TableRow headerRow, Section configuration, PartialRendererData<Collection> data, DataType dataType, WidgetInstanceManager widgetInstanceManager, Object markData)
protected boolean isCollapsed(TableRowsGroup parent)
protected void setCollapsed(TableRowsGroup parent, boolean collapsed)
protected boolean isSectionContentRendered(TableRowsGroup parent, Section configuration, PartialRendererData<Collection> data, DataType dataType, WidgetInstanceManager widgetInstanceManager)
@Deprecated protected void renderSection(TableRowsGroup parent, Section configuration, PartialRendererData<Collection> data, DataType dataType, WidgetInstanceManager widgetInstanceManager)
renderSection(TableRowsGroup, TableRow, Section, PartialRendererData, DataType, WidgetInstanceManager)protected void renderSection(TableRowsGroup parent, TableRow headerRow, Section configuration, PartialRendererData<Collection> data, DataType dataType, WidgetInstanceManager widgetInstanceManager)
protected void renderLocalizedAttributeGroup(LocalizedAttributeInfo localizedAttributeInfo, PartialRendererData<Collection> data, DataType dataType, WidgetInstanceManager widgetInstanceManager)
protected void registerCollapsibleLocalizedGroupListeners(LocalizedAttributeInfo localizedAttributeInfo, PartialRendererData<Collection> data, DataType dataType, WidgetInstanceManager widgetInstanceManager)
protected void handleLocalizedAttributeExpandStateChangeRequested(TableRowsGroup group, TableRow currentLocaleRow, Section configuration, PartialRendererData<Collection> data, DataType dataType, WidgetInstanceManager widgetInstanceManager)
protected void handleLocalizedAttributeExpandStateChangeRequested(boolean newCollapsedState,
TableRow row,
Section configuration,
PartialRendererData<Collection> data,
DataType dataType,
WidgetInstanceManager widgetInstanceManager)
protected void renderLocalizedAttributeLocalization(TableRowsGroup parent, PartialRendererData<Collection> data, DataType dataType, WidgetInstanceManager widgetInstanceManager, TableRow row, Attribute attribute, Locale locale)
protected Attribute buildAttributeWithLocalizedQualifierPath(Attribute attribute, Locale locale)
protected Locale getCurrentLocale()
protected boolean isCurrentLocale(Locale locale)
protected void renderAttribute(TableRowsGroup parent, TableRow row, Attribute attribute, PartialRendererData<Collection> data, DataType dataType, WidgetInstanceManager widgetInstanceManager)
protected void updateTableRowDifferentMark(TableRowsGroup parent, TableRow tableRow, Attribute attribute, PartialRendererData<Collection> data)
protected boolean isNotEqual(ComparisonResult result, CompareAttributeDescriptor attributeDescriptor)
attributeDescriptor.result - ComparisonResult loaded from engine
DefaultItemComparisonFacade.getCompareViewResult(Object, Collection, Collection)attributeDescriptor - object's attribute descriptorprotected WidgetComponentRenderer<TableRow,Section,PartialRendererData<Collection>> getHeaderRenderer()
public void setHeaderRenderer(WidgetComponentRenderer<TableRow,Section,PartialRendererData<Collection>> headerRenderer)
protected WidgetComponentRenderer<TableRow,Attribute,PartialRendererData<Collection>> getAttributeRenderer(Attribute attributeConfig)
protected WidgetComponentRenderer<TableRow,Attribute,PartialRendererData<Collection>> getAttributeRenderer()
public void setAttributeRenderer(WidgetComponentRenderer<TableRow,Attribute,PartialRendererData<Collection>> attributeRenderer)
public CockpitLocaleService getCockpitLocaleService()
public void setCockpitLocaleService(CockpitLocaleService cockpitLocaleService)
public CockpitUserService getCockpitUserService()
public void setCockpitUserService(CockpitUserService cockpitUserService)
protected WidgetRenderingUtils getWidgetRenderingUtils()
public void setWidgetRenderingUtils(WidgetRenderingUtils widgetRenderingUtils)
Copyright © 2018. All rights reserved.