T
- The type of handled objects.public interface DataRenderer<T>
Modifier and Type | Method and Description |
---|---|
String |
getDescription(T object)
Returns an evaluated description for the given object or
null if a description is not available. |
String |
getDetails(T object)
Returns an evaluated detail html snippet for the given object or
null if a detail is not available. |
Image<?> |
getIcon(T object)
Provides the evaluated image resource for the given object or
null if an type image is not available. |
Image<?> |
getThumbnail(T object)
Provides the evaluated image resource for the given object or
null if an image representation is not
available. |
String |
getTitle(T object)
Provides an evaluated title for the given object.
|
@Nullable Image<?> getIcon(T object)
null
if an type image is not available.object
- The object that is to be rendered in the report list.null
if no image is to be shown.Image.Factory
@Nullable Image<?> getThumbnail(T object)
null
if an image representation is not
available.object
- The object that is to be rendered in the report list.null
if no thumbnail is to be shown.Image.Factory
String getTitle(T object)
object
- The object that is to be rendered in the report list.@Nullable String getDescription(T object)
null
if a description is not available.object
- The object that is to be rendered in the report list.null
.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408