Index
All Classes and Interfaces|All Packages
C
- com.vaadin.flow.component.pdfviewer.testbench - package com.vaadin.flow.component.pdfviewer.testbench
G
- getHeaderTitle() - Method in class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
-
Gets the title shown in the header of the viewer.
- getPage() - Method in class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
-
Gets the current page, which is the page that takes up most of the visible area.
- getPageCount() - Method in class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
-
Gets the number of pages in the loaded document.
- getSrc() - Method in class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
-
Gets the URL of the document.
- getZoom() - Method in class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
-
Gets the zoom level of the pages.
H
- hasError() - Method in class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
-
Checks whether the document could not be loaded.
- hideSidebar() - Method in class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
-
Hides the sidebar by clicking the sidebar button of the toolbar.
I
- isLoading() - Method in class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
-
Checks whether a document is being loaded.
- isSidebarOpened() - Method in class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
-
Checks whether the sidebar with the page thumbnails is shown.
- isToolbarCollapsed() - Method in class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
-
Checks whether the toolbar is collapsed.
P
- PAGE_FIT - Enum constant in enum class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement.ZoomMode
-
Fits the whole current page into the viewer.
- PAGE_WIDTH - Enum constant in enum class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement.ZoomMode
-
Fits the width of the current page to the viewer.
- PdfViewerElement - Class in com.vaadin.flow.component.pdfviewer.testbench
-
A TestBench element representing a
<vaadin-pdf-viewer>element. - PdfViewerElement() - Constructor for class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
- PdfViewerElement.ZoomMode - Enum Class in com.vaadin.flow.component.pdfviewer.testbench
-
The zoom modes that fit the pages to the viewer, see
PdfViewerElement.setZoom(ZoomMode).
S
- setZoom(double) - Method in class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
-
Sets the zoom to a factor of the actual size of the pages, for example
1for 100% and1.5for 150%. - setZoom(PdfViewerElement.ZoomMode) - Method in class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
-
Sets the zoom to a mode that fits the pages to the viewer.
- showSidebar() - Method in class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
-
Shows the sidebar by clicking the sidebar button of the toolbar.
T
- toggleToolbar() - Method in class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
-
Collapses the toolbar if it is expanded, or expands it if it is collapsed, by clicking the header of the viewer.
V
- valueOf(String) - Static method in enum class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement.ZoomMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement.ZoomMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
Z
- zoomIn() - Method in class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
-
Zooms in to the next zoom level with the zoom in button of the toolbar.
- zoomOut() - Method in class com.vaadin.flow.component.pdfviewer.testbench.PdfViewerElement
-
Zooms out to the previous zoom level with the zoom out button of the toolbar.
All Classes and Interfaces|All Packages