Class DefaultSummaryViewSectionRenderer

    • Field Detail

      • SCLASS_SECTION_CONTAINER

        protected static final java.lang.String SCLASS_SECTION_CONTAINER
        See Also:
        Constant Field Values
      • SCLASS_SECTION_CONTAINER_CAPTION

        protected static final java.lang.String SCLASS_SECTION_CONTAINER_CAPTION
        See Also:
        Constant Field Values
      • SCLASS_SECTION_CONTAINER_CONTENT

        protected static final java.lang.String SCLASS_SECTION_CONTAINER_CONTENT
        See Also:
        Constant Field Values
      • SCLASS_ACTIONS_COMPONENT

        protected static final java.lang.String SCLASS_ACTIONS_COMPONENT
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultSummaryViewSectionRenderer

        public DefaultSummaryViewSectionRenderer()
    • Method Detail

      • render

        public void render​(org.zkoss.zk.ui.Component parent,
                           AbstractSection sectionConfiguration,
                           java.lang.Object data,
                           DataType dataType,
                           WidgetInstanceManager widgetInstanceManager)
        Description copied from interface: WidgetComponentRenderer
        Renders a component inside parent, representing given data and complying to given ui configuration. The data should be of give dataType. The renderer implementation could communicate with underlying widget via widgetInstanceManager.
        Parameters:
        parent - parent component on which to render
        sectionConfiguration - configuration of renderer
        data - data to be rendered
        dataType - meta information about type of data provided
        widgetInstanceManager - widget manager in scope of which renderer is used
      • createSectionContainer

        protected org.zkoss.zul.Groupbox createSectionContainer​(org.zkoss.zk.ui.Component parent,
                                                                AbstractSection sectionConfiguration,
                                                                java.lang.Object data)
      • createSectionContainerCaption

        protected org.zkoss.zul.Caption createSectionContainerCaption​(AbstractSection sectionConfiguration)
      • renderSectionContent

        protected void renderSectionContent​(org.zkoss.zk.ui.Component parent,
                                            Section sectionConfiguration,
                                            java.lang.Object data,
                                            DataType dataType,
                                            WidgetInstanceManager widgetInstanceManager)
      • renderCustomSectionContent

        protected void renderCustomSectionContent​(org.zkoss.zk.ui.Component parent,
                                                  CustomSection sectionConfiguration,
                                                  java.lang.Object data,
                                                  DataType dataType,
                                                  WidgetInstanceManager widgetInstanceManager)
      • createSectionContentContainer

        protected org.zkoss.zul.Vlayout createSectionContentContainer()
      • renderSectionElement

        protected void renderSectionElement​(org.zkoss.zk.ui.Component parent,
                                            java.util.List<Positioned> elements,
                                            java.lang.Object data,
                                            DataType dataType,
                                            WidgetInstanceManager widgetInstanceManager)
      • createActionsSlot

        protected Actions createActionsSlot​(Actions actions,
                                            java.lang.Object data,
                                            java.lang.String typeCode,
                                            WidgetInstanceManager widgetInstanceManager)
      • setObjectValueService

        public void setObjectValueService​(ObjectValueService objectValueService)
      • setSummaryViewAttributeRenderer

        public void setSummaryViewAttributeRenderer​(WidgetComponentRenderer<org.zkoss.zk.ui.Component,​Attribute,​java.lang.Object> summaryViewAttributeRenderer)
      • setDataQualityGroupRenderer

        public void setDataQualityGroupRenderer​(WidgetComponentRenderer<org.zkoss.zk.ui.Component,​Attribute,​java.lang.Object> dataQualityGroupRenderer)