Skip to content

BaseBeanTreeItemRenderer ​

Component BaseBeanTreeItemRenderer is a specialization of the TreeItemRenderer, which represents baseBeans of the Core Engine.

It extends the TreeItemRenderer by the following possibilities:

  • display a marking checkbox
  • display a button for conditional operations
  • display an object image of the baseBean or an object icon (optional).

Properties ​

Parameter ​

The parameters must be set via attribute itemRendererProperties of actor ListItemRendererFactory.

NameTypeDescription
iconsmap<string, string>Used to display additional icons on the object icon (based on the CEBoolean metadata of the baseBean). If the value of the metadata field is set to true, a corresponding icon is displayed (example).
showObjectImageboolean
default: false
Defines whether to display the object image of the baseBean.
iconNamestringName of the icon to be displayed. If set, the object icon will be displayed.
showCOButtonboolean
default: true
Defines whether the "conditional operations" button should be displayed. This button is only displayed when the BaseBeanTreeItemRenderer is hovered over with the mouse or when a record is selected or highlighted.
displayFieldstring
default: friendlyname
Defines which field of the object will be displayed in the itemRenderer.

Icon Example ​

xml
<entry class="map" key="itemRendererProperties">
    <entry class="map" key="icons">
        <entry class="string" key="isimport">FOLDER-TREE_ITEM_RENDERER-ISIMPORT_FOLDER</entry>
        <entry class="string" key="isupload">FOLDER-TREE_ITEM_RENDERER-ISUPLOAD_FOLDER</entry>
        <entry class="string" key="isproject">FOLDER-TREE_ITEM_RENDERER-ISPROJECT_FOLDER</entry>
        <entry class="string" key="isprojectroot">FOLDER-TREE_ITEM_RENDERER-ISPROJECTROOT_FOLDER</entry>
    </entry>
</entry>
Request missing documentation