Package com.google.gwt.cell.client
Interface ImageLoadingCell.Renderers
-
- All Known Implementing Classes:
ImageLoadingCell.DefaultRenderers
- Enclosing class:
- ImageLoadingCell
public static interface ImageLoadingCell.RenderersThe renderers used by this cell.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SafeHtmlRenderer<java.lang.String>getErrorRenderer()Get the renderer used to render an error message when the image does not load.SafeHtmlRenderer<java.lang.String>getImageRenderer()Get the renderer used to render the image.SafeHtmlRenderer<java.lang.String>getLoadingRenderer()Get the renderer used to render a loading message.
-
-
-
Method Detail
-
getErrorRenderer
SafeHtmlRenderer<java.lang.String> getErrorRenderer()
Get the renderer used to render an error message when the image does not load. By default, the broken image is rendered.- Returns:
- the
SafeHtmlRendererused when the image doesn't load
-
getImageRenderer
SafeHtmlRenderer<java.lang.String> getImageRenderer()
Get the renderer used to render the image. This renderer must render animgelement, which triggers theloadorerrorevent that this cell handles.- Returns:
- the
SafeHtmlRendererused to render the image
-
getLoadingRenderer
SafeHtmlRenderer<java.lang.String> getLoadingRenderer()
Get the renderer used to render a loading message. By default, an animated loading icon is rendered.- Returns:
- the
SafeHtmlRendererused to render the loading html
-
-