# BasicList
The component BasicList
is used for the rendering of list elements. The component builds renderers for all elements, therefore it is used for the list with a small number of elements.
# Properties
HTMLElement
BaseComponent
Element tag:
cm4ap-basic-list
# Parameter
# Parameters in the Layout
Name | Type | Description |
---|---|---|
itemRenderer | string default:cm4ap-default-list-item-renderer | The class name of the ListItemRenderer component to be used as the ItemRenderer. Must be either the ListItemRenderer component or a component based on it. |
grid | boolean default: false | Defines whether the BufferedList should be displayed as a tile view. All other settings regarding the tile view are made via the zoomActor (see below). |
listActor | ListActor | The data held in the ListActor is represented by the BufferedList. |
selectionActor | SelectionActor | The SelectionActor manages selected or marked objects. It is used by the BufferedList to make list entries selectable or markable (more details). |
zoomActor | ZoomActor | Only if grid = true If a ZoomActor is passed to the BufferedList, it is able to adjust the tile size depending on the information in the ZoomActor (more details). |
# Selecting and Marking
In order for object selections and markings to be visible to system users, an ItemRenderer is required that supports this. The ListItemRenderer component is such an ItemRenderer.
All components based on the ListItemRenderer
should be checked individually to see if they override the functionality.
# Tile Zooming
By default, each tile is 200 px x 200 px. With each zoom in or out the size changes by 10 px in both dimensions. The default size of a tile can be overridden by the ItemRenderer used.
← BaseIcon BufferedList →