Site Manager Developer Manual / Version 2101
Table Of Contents<ColumnDefinition name="Image" class="ImageColumn"> <Renderer class="ImageLayoutColumnRenderer" width="50" height="50"/> <DisplayMap document="Picture" property="thumbnail"/> </ColumnDefinition> <ColumnDefinition name="Head"> <Renderer class="StringPropertyLayoutColumnRenderer"/> <DisplayMap document="Article" property="headline"/> </ColumnDefinition>
Example 5.7. Example for the use of a renderer class
Renderer classes can be used to display the content of document fields in columns of the Explorer window, Query window and Resource chooser window. The predefined renderers are listed in the next table. For own renderer classes, you need to extent the class hox.corem.editor.toolkit.table.columnrenderer.LayoutColumnRenderer.
Class |
Description |
---|---|
GenericPropertyLayoutColumnRenderer |
Combines the ImageLayoutColumnRenderer, LinkListPropertyLayoutColumnRenderer, SgmlTextPropertyLayoutColumnRenderer and StringPropertyLayoutColumnRenderer. |
StringPropertyLayoutColumnRenderer |
Usable for string, integer, Boolean and date fields. Displays plain text. |
SgmlTextPropertyLayoutColumnRenderer |
Usable for |
BlobPropertyLayoutColumnRenderer |
Usable for BlobProperty fields. The size of the blob in KB is shown. |
ImageLayoutColumnRenderer |
Usable for images of type |
LinkListPropertyLayoutColumnRenderer |
Usable for LinkList fields. Two modes can be applied, using the attribute |
DisplacementColumnRenderer |
Shows the displacement status of a document. |
ImpliedPropertyLayoutColumnRenderer |
Usable for implied properties of the document (see the table in this chapter above). Display the
property as plain text and optionally a state or document type icon using the attributes
|
Table 5.24. Provided Renderer classes of CoreMedia CAP