Appearance
ListItemRendererFactory ​
The ListItemRendererFactory is used to automatically create ListItemRenderer components. The ListItemRendererFactory is used by list-based components to create ItemRenderers for rendering the list data.
Properties ​
Parent:
Actor
Type:
ListItemRendererFactory
Parameter ​
Parameters in the Layout ​
| Name | Type | Description |
|---|---|---|
| itemRenderer | string | The class name of the ListItemRenderer component to be created. |
| itemRendererProperties | Map<String, Object> | The data passed here will be passed to the individual ItemRenderers immediately after their creation. |
Example for Setting Attributes in ItemRenderer in Layout ​
xml
<actor id="itemRendererFactory" type="ListItemRendererFactory">
<parameter>
<entry class="string" key="itemRenderer">cm4ap-ce_role-tree-item-renderer</entry>
<entry class="map" key="itemRendererProperties">
<entry class="boolean" key="showObjectImage">false</entry>
<entry class="boolean" key="showCOButton">false</entry>
<entry class="string" key="iconName">M-CE_ROLE</entry>
</entry>
</parameter>
</actor>
