info.magnolia.dam.asset.field.configuration
Interface ThumbnailComponentProvider

All Known Implementing Classes:
IconThumbnailComponentProvider, ImageThumbnailComponentProvider

public interface ThumbnailComponentProvider

Base ThumbnailComponentProvider definition.


Method Summary
 com.vaadin.ui.Component createThumbnailComponent(String description, File file, String mimeType)
          Generate a Thumbnail Component.
 

Method Detail

createThumbnailComponent

com.vaadin.ui.Component createThumbnailComponent(String description,
                                                 File file,
                                                 String mimeType)
Generate a Thumbnail Component.

Parameters:
description - of the File to be displayed as a Thumbnail.
file - to be displayed as a Thumbnail.
mimeType - of the File to be displayed as a Thumbnail.
Returns:
Thumbnail Component (could be a Label/Resource...)


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.