Index

A C D F G I N O P S V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addDocumentErrorListener(ComponentEventListener<PdfViewer.DocumentErrorEvent>) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
Adds a listener that is called when a document could not be loaded.
addDocumentLoadListener(ComponentEventListener<PdfViewer.DocumentLoadEvent>) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
Adds a listener that is called when a document has been loaded.
addPageChangeListener(ComponentEventListener<PdfViewer.PageChangeEvent>) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
Adds a listener that is called when the current page changes.

C

com.vaadin.flow.component.pdfviewer - package com.vaadin.flow.component.pdfviewer
 

D

DocumentErrorEvent(PdfViewer, boolean, String) - Constructor for class com.vaadin.flow.component.pdfviewer.PdfViewer.DocumentErrorEvent
Creates a new event.
DocumentErrorReason - Enum Class in com.vaadin.flow.component.pdfviewer
The reasons why PdfViewer could not load a document, see PdfViewer.DocumentErrorEvent.
DocumentLoadEvent(PdfViewer, boolean, int, String) - Constructor for class com.vaadin.flow.component.pdfviewer.PdfViewer.DocumentLoadEvent
Creates a new event.

F

FEATURE_FLAG_ID - Static variable in class com.vaadin.flow.component.pdfviewer.PdfViewerFeatureFlagProvider
The id of the PDF Viewer component feature flag.

G

getFeatures() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerFeatureFlagProvider
 
getPage() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
Gets the current page, which is the page that takes up most of the visible area.
getPage() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer.PageChangeEvent
Gets the new current page.
getPageCount() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer.DocumentLoadEvent
Gets the number of pages in the document.
getPageCount() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
Gets the number of pages in the document.
getReason() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer.DocumentErrorEvent
Gets the reason why the document could not be loaded.
getSrc() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
Gets the URL of the document.
getTitle() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer.DocumentLoadEvent
Gets the title of the document from its metadata.

I

INVALID - Enum constant in enum class com.vaadin.flow.component.pdfviewer.DocumentErrorReason
The data is not a valid PDF document.

N

NETWORK - Enum constant in enum class com.vaadin.flow.component.pdfviewer.DocumentErrorReason
The document could not be fetched, for example because the URL does not exist or the server responded with an error.

O

onAttach(AttachEvent) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
 

P

PageChangeEvent(PdfViewer, boolean, int) - Constructor for class com.vaadin.flow.component.pdfviewer.PdfViewer.PageChangeEvent
Creates a new event.
pageCountSignal() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
Gets a read-only signal with the number of pages in the document, or 0 if no document is loaded.
pageSignal() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
Gets a read-only signal with the current page, which is the page that takes up most of the visible area.
PASSWORD - Enum constant in enum class com.vaadin.flow.component.pdfviewer.DocumentErrorReason
The document needs a password to open.
PDF_VIEWER_COMPONENT - Static variable in class com.vaadin.flow.component.pdfviewer.PdfViewerFeatureFlagProvider
The PDF Viewer component feature flag.
PdfViewer - Class in com.vaadin.flow.component.pdfviewer
PDF Viewer is a component for showing PDF documents.
PdfViewer() - Constructor for class com.vaadin.flow.component.pdfviewer.PdfViewer
Creates a PDF viewer without a document.
PdfViewer(DownloadHandler) - Constructor for class com.vaadin.flow.component.pdfviewer.PdfViewer
Creates a PDF viewer that shows the document served by the given download handler.
PdfViewer(String) - Constructor for class com.vaadin.flow.component.pdfviewer.PdfViewer
Creates a PDF viewer that shows the document at the given URL.
PdfViewer.DocumentErrorEvent - Class in com.vaadin.flow.component.pdfviewer
Event fired when a document could not be loaded.
PdfViewer.DocumentLoadEvent - Class in com.vaadin.flow.component.pdfviewer
Event fired when a document has been loaded, before its pages are shown.
PdfViewer.PageChangeEvent - Class in com.vaadin.flow.component.pdfviewer
Event fired when the current page changes.
PdfViewerExperimentalFeatureException - Exception Class in com.vaadin.flow.component.pdfviewer
An exception which is thrown when somebody attempts to use the PdfViewer component without activating the associated feature flag first.
PdfViewerExperimentalFeatureException() - Constructor for exception class com.vaadin.flow.component.pdfviewer.PdfViewerExperimentalFeatureException
Creates a new exception with a default message.
PdfViewerFeatureFlagProvider - Class in com.vaadin.flow.component.pdfviewer
Provides the PDF Viewer component feature flag, gating the experimental PdfViewer component.
PdfViewerFeatureFlagProvider() - Constructor for class com.vaadin.flow.component.pdfviewer.PdfViewerFeatureFlagProvider
 

S

setSrc(DownloadHandler) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
Sets a download handler that serves the document to show, for example one created with the factory methods of DownloadHandler.
setSrc(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
Sets the URL of the document to show.

V

valueOf(String) - Static method in enum class com.vaadin.flow.component.pdfviewer.DocumentErrorReason
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.vaadin.flow.component.pdfviewer.DocumentErrorReason
Returns an array containing the constants of this enum class, in the order they are declared.
A C D F G I N O P S V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form