Interface DataRenderer<T>
- Type Parameters:
- T- The type of handled objects.
public interface DataRenderer<T>
Renders object-specific data for use in individual snippets of report result lists.
- Since:
- 5.1.19
- 
Method SummaryModifier and TypeMethodDescription@Nullable StringgetDescription(T object) Returns an evaluated description for the given object ornullif a description is not available.@Nullable StringgetDetails(T object) Returns an evaluated detail html snippet for the given object ornullif a detail is not available.@Nullable Image<?>Provides the evaluated image resource for the given object ornullif an type image is not available.@Nullable Image<?>getThumbnail(T object) Provides the evaluated image resource for the given object ornullif an image representation is not available.Provides an evaluated title for the given object.
- 
Method Details- 
getIconProvides the evaluated image resource for the given object ornullif an type image is not available.- Parameters:
- object- The object that is to be rendered in the report list.
- Returns:
- Image or nullif no image is to be shown.
- Since:
- 5.1.19
- See Also:
 
- 
getThumbnailProvides the evaluated image resource for the given object ornullif an image representation is not available.- Parameters:
- object- The object that is to be rendered in the report list.
- Returns:
- Image or nullif no thumbnail is to be shown.
- Since:
- 5.1.19
- See Also:
 
- 
getTitleProvides an evaluated title for the given object.- Parameters:
- object- The object that is to be rendered in the report list.
- Returns:
- Title text.
- Since:
- 5.1.19
 
- 
getDescriptionReturns an evaluated description for the given object ornullif a description is not available.- Parameters:
- object- The object that is to be rendered in the report list.
- Returns:
- Description text or null.
- Since:
- 5.1.19
 
- 
getDetailsReturns an evaluated detail html snippet for the given object ornullif a detail is not available.- Parameters:
- object- The object that is to be rendered in the report list.
- Returns:
- Detail html snippet or null.
- Since:
- 5.1.19
 
 
-