Index
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.
- addSidebarOpenedChangeListener(ComponentEventListener<PdfViewer.SidebarOpenedChangeEvent>) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Adds a listener that is called when the sidebar is shown or hidden, either by the user clicking the sidebar button or with
PdfViewer.setSidebarOpened(boolean). - addThumbnailClickListener(ComponentEventListener<PdfViewer.ThumbnailClickEvent>) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Adds a listener that is called when the user chooses a page thumbnail in the sidebar, with a click or with Enter or Space.
- addToolbarCollapsedChangeListener(ComponentEventListener<PdfViewer.ToolbarCollapsedChangeEvent>) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Adds a listener that is called when the toolbar is collapsed or expanded, either by the user clicking the header or with
PdfViewer.setToolbarCollapsed(boolean). - addZoomChangeListener(ComponentEventListener<PdfViewer.ZoomChangeEvent>) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Adds a listener that is called when the zoom level 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
PdfViewercould not load a document, seePdfViewer.DocumentErrorEvent. - DocumentLoadEvent(PdfViewer, boolean, int, String) - Constructor for class com.vaadin.flow.component.pdfviewer.PdfViewer.DocumentLoadEvent
-
Creates a new event.
- download() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Downloads the document in the browser, like the download button of the toolbar does.
E
- equals(Object) - Method in class com.vaadin.flow.component.pdfviewer.Zoom
F
- FEATURE_FLAG_ID - Static variable in class com.vaadin.flow.component.pdfviewer.PdfViewerFeatureFlagProvider
-
The id of the PDF Viewer component feature flag.
G
- getDocument() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the header title of a document without a file name.
- getDownload() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the tooltip of the download button.
- getElement() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer.PdfViewerToolbarActions
- getExternalLink() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the accessible name of a link that opens in a new tab.
- getFactor() - Method in class com.vaadin.flow.component.pdfviewer.Zoom
-
Gets the factor of the actual size of the pages, see
Zoom.of(double). - getFeatures() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerFeatureFlagProvider
- getFileName() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Gets the file name used by
PdfViewer.download(). - getGoToPage() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the accessible name of a link in the document that has no text and goes to another page.
- getHeaderTitle() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Gets the title set with
PdfViewer.setHeaderTitle(String). - getI18n() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Gets the i18n object.
- getLink() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the accessible name of a link in the document that has no text and no known destination.
- getLoading() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the accessible name of the loading indicator.
- getNextPage() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the tooltip of the next page button.
- 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.
- getPage() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer.ThumbnailClickEvent
-
Gets the page number of the chosen thumbnail.
- getPage() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the accessible name of the page number field.
- 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.
- getPageError() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the error message of the page number field, shown when the user enters a page that does not exist.
- getPageFit() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the text of the zoom option that fits the whole page.
- getPageLabel() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the accessible name of a page in the document.
- getPageWidth() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the text of the zoom option that fits the page width.
- getPreviousPage() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the tooltip of the previous page button.
- getReason() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer.DocumentErrorEvent
-
Gets the reason why the document could not be loaded.
- getSidebar() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the tooltip of the button that shows and hides the sidebar.
- getSrc() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Gets the URL of the document.
- getThumbnailLabel() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the accessible name of a page thumbnail in the sidebar.
- getThumbnails() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the accessible name of the list of page thumbnails in the sidebar.
- getTitle() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer.DocumentLoadEvent
-
Gets the title of the document from its metadata.
- getToolbarActions() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Gets the container for your own controls, such as buttons, in the toolbar.
- getZoom() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Gets the zoom level of the pages.
- getZoom() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer.ZoomChangeEvent
-
Gets the new zoom level.
- getZoom() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the accessible name of the zoom select.
- getZoomIn() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the tooltip of the zoom in button.
- getZoomOut() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Gets the tooltip of the zoom out button.
H
- hashCode() - Method in class com.vaadin.flow.component.pdfviewer.Zoom
I
- INVALID - Enum constant in enum class com.vaadin.flow.component.pdfviewer.DocumentErrorReason
-
The data is not a valid PDF document.
- isDownloadButtonVisible() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Gets whether the toolbar shows the download button.
- isHeaderVisible() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Gets whether the viewer shows the header above the toolbar.
- isSidebarButtonVisible() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Gets whether the toolbar shows the sidebar button.
- isSidebarOpened() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Gets whether the sidebar with the page thumbnails is shown.
- isSidebarOpened() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer.SidebarOpenedChangeEvent
-
Gets whether the sidebar is now shown.
- isToolbarCollapsed() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Gets whether the toolbar is collapsed.
- isToolbarCollapsed() - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer.ToolbarCollapsedChangeEvent
-
Gets whether the toolbar is now collapsed.
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
- of(double) - Static method in class com.vaadin.flow.component.pdfviewer.Zoom
-
Creates a zoom that scales the pages relative to their actual size, for example
1shows them at 100% and1.5at 150%. - onAttach(AttachEvent) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
P
- PAGE_FIT - Static variable in class com.vaadin.flow.component.pdfviewer.Zoom
-
Fits the whole current page into the viewer.
- PAGE_WIDTH - Static variable in class com.vaadin.flow.component.pdfviewer.Zoom
-
Fits the width of the current page to the viewer.
- 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
0if 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.
- PdfViewer.PdfViewerToolbarActions - Class in com.vaadin.flow.component.pdfviewer
-
Container for your own controls in the
PdfViewertoolbar. - PdfViewer.SidebarOpenedChangeEvent - Class in com.vaadin.flow.component.pdfviewer
-
Event fired when the sidebar is shown or hidden.
- PdfViewer.ThumbnailClickEvent - Class in com.vaadin.flow.component.pdfviewer
-
Event fired when the user chooses a page thumbnail in the sidebar, with a click or with Enter or Space.
- PdfViewer.ToolbarCollapsedChangeEvent - Class in com.vaadin.flow.component.pdfviewer
-
Event fired when the toolbar is collapsed or expanded.
- PdfViewer.ZoomChangeEvent - Class in com.vaadin.flow.component.pdfviewer
-
Event fired when the zoom level changes.
- PdfViewerExperimentalFeatureException - Exception Class in com.vaadin.flow.component.pdfviewer
-
An exception which is thrown when somebody attempts to use the
PdfViewercomponent 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
PdfViewercomponent. - PdfViewerFeatureFlagProvider() - Constructor for class com.vaadin.flow.component.pdfviewer.PdfViewerFeatureFlagProvider
- PdfViewerI18n - Class in com.vaadin.flow.component.pdfviewer
-
Translatable texts of
PdfViewer. - PdfViewerI18n() - Constructor for class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
S
- scrollToPage(int) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Scrolls to the start of the given page.
- setDocument(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the header title of a document without a file name.
- setDownload(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the tooltip of the download button.
- setDownloadButtonVisible(boolean) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Sets whether the toolbar shows the download button.
- setExternalLink(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the accessible name of a link that opens in a new tab.
- setFileName(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Sets the file name used by
PdfViewer.download()and shown in the header. - setGoToPage(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the accessible name of a link in the document that has no text and goes to another page.
- setHeaderTitle(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Sets the title shown in the header.
- setHeaderVisible(boolean) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Sets whether the viewer shows the header above the toolbar.
- setI18n(PdfViewerI18n) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Sets the i18n object that translates the texts of the viewer.
- setLink(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the accessible name of a link in the document that has no text and no known destination.
- setLoading(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the accessible name of the loading indicator.
- setNextPage(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the tooltip of the next page button.
- setPage(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the accessible name of the page number field.
- setPageError(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the error message of the page number field, shown when the user enters a page that does not exist.
- setPageFit(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the text of the zoom option that fits the whole page.
- setPageLabel(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the accessible name of a page in the document.
- setPageWidth(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the text of the zoom option that fits the page width.
- setPreviousPage(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the tooltip of the previous page button.
- setSidebar(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the tooltip of the button that shows and hides the sidebar.
- setSidebarButtonVisible(boolean) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Sets whether the toolbar shows the button that shows and hides the sidebar.
- setSidebarOpened(boolean) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Sets whether the sidebar with the page thumbnails is shown.
- setSrc(DownloadHandler) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Sets a download handler that serves the document to show.
- setSrc(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Sets the URL of the document to show.
- setThumbnailLabel(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the accessible name of a page thumbnail in the sidebar.
- setThumbnails(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the accessible name of the list of page thumbnails in the sidebar.
- setToolbarCollapsed(boolean) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Sets whether the toolbar is collapsed.
- setZoom(Zoom) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewer
-
Sets the zoom level of the pages:
Zoom.PAGE_WIDTHfits the width of the current page to the viewerZoom.PAGE_FITfits the whole current page into the viewerZoom.of(double)scales the pages relative to their actual size The fit modes update the scale when the viewer resizes. - setZoom(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the accessible name of the zoom select.
- setZoomIn(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the tooltip of the zoom in button.
- setZoomOut(String) - Method in class com.vaadin.flow.component.pdfviewer.PdfViewerI18n
-
Sets the tooltip of the zoom out button.
- SidebarOpenedChangeEvent(PdfViewer, boolean, boolean) - Constructor for class com.vaadin.flow.component.pdfviewer.PdfViewer.SidebarOpenedChangeEvent
-
Creates a new event.
T
- ThumbnailClickEvent(PdfViewer, boolean, int) - Constructor for class com.vaadin.flow.component.pdfviewer.PdfViewer.ThumbnailClickEvent
-
Creates a new event.
- ToolbarCollapsedChangeEvent(PdfViewer, boolean, boolean) - Constructor for class com.vaadin.flow.component.pdfviewer.PdfViewer.ToolbarCollapsedChangeEvent
-
Creates a new event.
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.
Z
- Zoom - Class in com.vaadin.flow.component.pdfviewer
-
The zoom level of the pages of
PdfViewer:Zoom.PAGE_WIDTH,Zoom.PAGE_FIT, or a factor of the actual size of the pages, seeZoom.of(double). - ZoomChangeEvent(PdfViewer, boolean, Zoom) - Constructor for class com.vaadin.flow.component.pdfviewer.PdfViewer.ZoomChangeEvent
-
Creates a new event.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form