@Tag(value="pdf-browser-viewer")
@JsModule(value="@lrnwebcomponents/pdf-browser-viewer/pdf-browser-viewer.js")
@NpmPackage(value="@lrnwebcomponents/pdf-browser-viewer",
version="2.2.0")
public class PdfViewer
extends com.vaadin.flow.component.Component
| Modifier and Type | Field and Description |
|---|---|
static String |
CARD |
static String |
DOWNLOAD_LABEL |
static String |
ELEVATION |
static String |
FILE |
static String |
HEIGHT |
static String |
NOT_SUPPORTED_LINK_MESSAGE |
static String |
NOT_SUPPORTED_MESSAGE |
static String |
WIDTH |
| Constructor and Description |
|---|
PdfViewer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onDetach(com.vaadin.flow.component.DetachEvent detachEvent) |
void |
setCard(boolean card) |
void |
setDownloadLabel(String label) |
void |
setElevation(String elevation) |
void |
setFile(String file) |
void |
setHeight(String height) |
void |
setNotSupportedLinkMessage(String message) |
void |
setNotSupportedMessage(String message) |
void |
setStreamResource(com.vaadin.flow.server.StreamResource streamResource) |
void |
setWidth(String width) |
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onEnabledStateChanged, set, setElement, setId, setVisiblepublic static final String NOT_SUPPORTED_MESSAGE
public static final String NOT_SUPPORTED_LINK_MESSAGE
public static final String CARD
public static final String DOWNLOAD_LABEL
public static final String ELEVATION
public static final String HEIGHT
public static final String WIDTH
public static final String FILE
public void setStreamResource(com.vaadin.flow.server.StreamResource streamResource)
public void setFile(String file)
public void setNotSupportedMessage(String message)
public void setNotSupportedLinkMessage(String message)
public void setCard(boolean card)
public void setDownloadLabel(String label)
public void setElevation(String elevation)
public void setHeight(String height)
public void setWidth(String width)
protected void onDetach(com.vaadin.flow.component.DetachEvent detachEvent)
onDetach in class com.vaadin.flow.component.ComponentCopyright © 2013–2019 Sven Ruppert. All rights reserved.