public class PdfAttachmentRenderer extends GenericAttachmentRenderer
| Constructor and Description |
|---|
PdfAttachmentRenderer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRenderAttachment(String type)
Returns true if this renderer is capable of rendering attachments of the given type.
|
com.vaadin.terminal.Resource |
getImage(Attachment attachment)
Get the image to display in the list of related content for
the given attachment.
|
extractExtention, getDetailComponent, getName, getOverviewComponentpublic boolean canRenderAttachment(String type)
AttachmentRenderercanRenderAttachment in interface AttachmentRenderercanRenderAttachment in class GenericAttachmentRendererpublic com.vaadin.terminal.Resource getImage(Attachment attachment)
AttachmentRenderergetImage in interface AttachmentRenderergetImage in class GenericAttachmentRendererattachment - the attachment to get the image for. When null is
passed, the image for a new attachment (of the type this class is capable of
rendering) is expected to be returned.Copyright © 2016 Alfresco. All rights reserved.