Class CmsDataViewPreviewWidget.ContentImageLoader
- java.lang.Object
-
- org.opencms.acacia.client.widgets.complex.CmsDataViewPreviewWidget.ContentImageLoader
-
- All Implemented Interfaces:
CmsDataViewPreviewWidget.I_ImageProvider
- Enclosing class:
- CmsDataViewPreviewWidget
public static class CmsDataViewPreviewWidget.ContentImageLoader extends java.lang.Object implements CmsDataViewPreviewWidget.I_ImageProvider
Loads image from data source.
-
-
Constructor Summary
Constructors Constructor Description ContentImageLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
loadImage(java.lang.String config, java.lang.String id, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> callback)
Loads the thumbnail.
-
-
-
Constructor Detail
-
ContentImageLoader
public ContentImageLoader()
-
-
Method Detail
-
loadImage
public void loadImage(java.lang.String config, java.lang.String id, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> callback)
Description copied from interface:CmsDataViewPreviewWidget.I_ImageProvider
Loads the thumbnail.- Specified by:
loadImage
in interfaceCmsDataViewPreviewWidget.I_ImageProvider
- Parameters:
config
- the widget configurationid
- the data idcallback
- the callback to call with the result (the image URL)- See Also:
CmsDataViewPreviewWidget.I_ImageProvider.loadImage(java.lang.String, java.lang.String, com.google.gwt.user.client.rpc.AsyncCallback)
-
-