Class CompoundWidgetComponentRenderer<PARENT extends org.zkoss.zk.ui.Component,​CONFIG,​DATA>

  • Type Parameters:
    PARENT - type of parent component on which renderer is able to render
    CONFIG - type of configuration for renderer
    DATA - type of data that may be rendered
    All Implemented Interfaces:
    NotifyingWidgetComponentRenderer<PARENT,​CONFIG,​DATA>, WidgetComponentRenderer<PARENT,​CONFIG,​DATA>

    public class CompoundWidgetComponentRenderer<PARENT extends org.zkoss.zk.ui.Component,​CONFIG,​DATA>
    extends AbstractWidgetComponentRenderer<PARENT,​CONFIG,​DATA>
    Renderer which allows to group renderers
    • Field Detail

      • YW_COMPOUND_RENDERER_CONTAINER

        public static final java.lang.String YW_COMPOUND_RENDERER_CONTAINER
        See Also:
        Constant Field Values
    • Constructor Detail

      • CompoundWidgetComponentRenderer

        public CompoundWidgetComponentRenderer()
    • Method Detail

      • render

        public void render​(PARENT parent,
                           CONFIG configuration,
                           DATA 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
        configuration - 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
      • createRendererContainer

        protected org.zkoss.zk.ui.Component createRendererContainer()