A renderer is a Java class that is used to render the items specified in a data model. The implementation of a renderer depends on the component. For example, the display of Listbox can be customized by an implementation of ListitemRenderer, and Grid by RowRenderer.
- If you prefer to define the rendering of each item in the ZUML document, you could use templates instead.
- The same model usually can be shared by components having the same logic model. For example, ListMode can be used in both Grid and Listbox. However, a renderer is usually specific to a particular component.