Class CompoundWidgetComponentRenderer<PARENT extends org.zkoss.zk.ui.Component,CONFIG,DATA>
- java.lang.Object
-
- com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer<PARENT,CONFIG,DATA>
-
- com.hybris.cockpitng.widgets.common.CompoundWidgetComponentRenderer<PARENT,CONFIG,DATA>
-
- Type Parameters:
PARENT- type of parent component on which renderer is able to renderCONFIG- type of configuration for rendererDATA- 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 Summary
Fields Modifier and Type Field Description static java.lang.StringYW_COMPOUND_RENDERER_CONTAINER
-
Constructor Summary
Constructors Constructor Description CompoundWidgetComponentRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.zkoss.zk.ui.ComponentcreateRendererContainer()voidrender(PARENT parent, CONFIG configuration, DATA data, DataType dataType, WidgetInstanceManager widgetInstanceManager)Renders a component inside parent, representing given data and complying to given ui configuration.voidsetRenderers(java.util.List<WidgetComponentRenderer> renderers)-
Methods inherited from class com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer
addRendererListener, fireComponentRendered, fireComponentRendered, fireComponentRendered, removeRendererListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hybris.cockpitng.widgets.common.WidgetComponentRenderer
render
-
-
-
-
Field Detail
-
YW_COMPOUND_RENDERER_CONTAINER
public static final java.lang.String YW_COMPOUND_RENDERER_CONTAINER
- See Also:
- Constant Field Values
-
-
Method Detail
-
render
public void render(PARENT parent, CONFIG configuration, DATA data, DataType dataType, WidgetInstanceManager widgetInstanceManager)
Description copied from interface:WidgetComponentRendererRenders 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 renderconfiguration- configuration of rendererdata- data to be rendereddataType- meta information about type of data providedwidgetInstanceManager- widget manager in scope of which renderer is used
-
createRendererContainer
protected org.zkoss.zk.ui.Component createRendererContainer()
-
setRenderers
public void setRenderers(java.util.List<WidgetComponentRenderer> renderers)
-
-