Contains a list of all the features that are available to the PDFViewer. See the viewer tutorial for more information on how to use this package.
Interface Summary Interface Description AreaSelectionActionA type of feature that will perform an action on an area selected with the
RemoteControl.RemoteControlProviderAn interface which should be implemented by the Provider for the RemoteControl class. TextSelectionActionA type of feature that works with the
Class Summary Class Description AboutCreate a simple "About" dialog displaying information about the PDFViewer and the runtime environment. AbstractRegionSelectorAn abstract superclass for any widgets that require a region to be selected. ActiveWindowMenuA special feature to enable the list of open windows under the "Window" menu. AnnotationAddAn
AbstractRegionSelectorthat allows new annotations to be added to the PDF Page.
AnnotationAddLineA feature that allows new line annotations to be drawn directly onto the PDF Page. AnnotationEllipseFactoryCreate annotations that handle Ellipse
AnnotationLineFactoryCreate annotations that handle Line
AnnotationLinkFactoryCreate annotations that handle
AnnotationNoteFactoryCreate annotations that handle
AnnotationRectangleFactoryCreate annotations that handle Rectangle
AnnotationSoundFactoryCreate annotations that handle
AnnotationStampFactoryCreate annotations that handle
AnnotationTextCalloutFactoryCreate annotations that handle
AnnotationTextobjects with callouts.
AnnotationTextFactoryCreate annotations that handle
AnnotationTextobjects (without callouts).
BackgroundSignatureVerifierThis feature will cause signatures in the PDF to be verified automatically when a PDF is loaded by the viewer, using a thread that runs transparently in the background. BackgroundTextExtractorThis feature will cause text to be extracted automatically when a PDF is loaded by the viewer. CloseCreate a "File : Close" menu item to close the current document. ContinuousPageView CoordinatesCreates a
JLabelwhich displays the total number of pages on the Toolbar.
CropPage DesktopSupportThis feature can be added to the viewer in Java 9 or later to make the viewer player nicely with the Desktop, Taskbar and so on. DragAndDropA feature which will add the ability to drag and drop files into the PDFViewer in a standard way. DragScrollThis widget allows the document to be dragged and scrolled. DualPageView EditMenuThis features adds an "Edit" menu to the application, which provides a familiar interface for those components allowing cut, copy, paste and text selection in the viewer - although those actions will still be available if this feature is not added to the viewer. EmbeddedFilePanelCreate a
SidePanelthat will display a list of embedded files in the PDF.
ExportCreate a button that will open a dialog allowing the PDF to be saved to disk in a non-PDF format (eg TIFF or plain Text). FormBarCodeWidgetFactory FormBlankSignatureWidgetFactory FormButtonWidgetFactory FormChoiceWidgetFactory FormImportDataActionHandlerCreate an action handler to deal with "FormImportData"
FormRadioButtonWidgetFactory FormResetActionHandlerCreate a handler to handler "FormReset" actions. FormSignedSignatureWidgetFactory FormSubmitActionHandlerCreate a handler to handler "FormSubmit" actions. FormTextWidgetFactory FullScreenModeCreate a menu item that will display the Document in "Full Screen" mode. GenericNamedActionHandlerCreate an action handler to handle "Named" actions. GoToActionHandlerCreate an action handler for "GoTo" actions and the named actions that move between pages. HighlightSelectionAction ImageImporter InfoCreate a button and menu item to display information about the PDF. InvisiblySignDocumentCreates a new, invisible
FormSignaturefield and then sign it.
KeyStoreSignatureProvider ManageIdentitiesCreate a button that opens a dialog to manage digital identities. MarkupSelectionAction MenusA special feature to enable the Menubar. MultiWindowA special feature to enable internal frames inside the viewer. NavigationWidgetAbstract superclass of navigation widgets that track the currently displayed page. NetworkSaveCreate a button that will submit a PDF to a network URL. OpenCreate a button and menu item to load a document from the filesystem. OpenRecentThis feature adds a most-recently-used menu listing the n most recently opened documents. OpenSystemCreate a button that opens the file with the Desktop.open method. OutlinePanel PageFirstCreate a button to jump to the first page. PageLastCreate a button to jump to the last page. PageNextCreate a button to jump to the next page. PageNumberCreate a widget that displays the current page number, and allows the user to enter a new pagenumber for display. PagePreviousCreate a button that jumps to the previous page. PDFExporterA subclass of Exporter that handles exporting a PDF as a PDF file. PDFImporterA subclass of
Importerthat allows PDF files to be loaded into the viewer.Create a button that opens a print dialog.
PrintSystemCreate a button that opens the system print dialog. QuitCreate a menu item that will quit the application - ie. it calls
RedactSelectionAction RemoteControlThe RemoteControl feature provides remote control of the PDFViewer. RotateAntiClockwiseCreate a button that will rotate the page 90 degrees anticlockwise. RotateClockwiseCreate a button that will rotate the page 90 degrees clockwise. SaveCreate a button that will allow the PDF to be saved to disk. Save.SaveFileChooserExtends the abomination that is JFileChooser to allow an options panel in the main dialog. SaveAsCreate a button that will open a dialog allowing the PDF to be saved to disk. SearchFieldCreate a widget that displays a Search field in the Toolbar. SearchPanelCreates a
SidePanelthat displays search results.
SearchPanel.FieldA subclass of JTextField customized for searching - it has a setProgress() method to report the progress of the search, and an icon in the background SearchPanel.ResultsThis class is the SidePanel returned by the parent factory, and represents the search results panel. SelectAreaAn
AbstractRegionSelectorthat allows a rectangular to be selected for PDF operations.
SignatureCaptureA feature which can be used to capture a handwritten signature on a Smartphone (iPhone, iPad or Android). SignaturePanelCreate a
SidePanelthat will display a list of Digital Signatures in the PDF.
SinglePageView SoundActionHandlerCreate a handler to handler "Sound" actions. SplashScreenCreate a splash screen which displays an "About" dialog when the PDFViewer is first displayed. StrikeOutSelectionAction TextCopyActionA
TextSelectionActionthat will copy the selected text to the System clipboard.
TextExporterA subclass of
Exporterthat handles saving a PDF as a Text file.
TextHighlighterA feature that allows the highlighting of text in the viewer. TextSelectionThis class is a transparent panel which is laid overtop of the PagePanel. TextSelection.RangeA Range represents a selected range of
RangeListis a read-only list of
TextToolThis widget allows text to be selected from the DocumentViewport. ThumbnailCopyActionStore a copy of the currently selected pages in the thumbnail panel for a subsequent move operation. ThumbnailCutActionStore the currently selected pages in the thumbnail panel for a subsequent move operation. ThumbnailDeleteActionThis feature will allow pages to be deleted via the
ThumbnailExtractActionThis feature will allow pages to be extracted to a new Document via the
SidePanelthat displays the page thumbnails.
JPanelrepresenting a single page image.
ThumbnailPanel.ThumbnailSidePanel ThumbnailPanel.ViewThis class is the JPanel containing all the thumbnails. ThumbnailPasteActionMoves the pages that have previously been stored with a cut operation to before the currently selected page in the thumbnail panel, and clears the list of such pages. TIFFExporterA subclass of
Exporterthat handles saving a PDF as a TIFF file.
ToolbarDisablingA special feature that creates a menu option allowing the user to enable or disable toolbars. ToolbarFloatingA special feature that allows the toolbars to float or not. ToolbarsA special feature that creates the toolbars in the
JLabelwhich displays the total number of pages on the Toolbar.
UnderlineSelectionAction UndoThis features adds an "Undo" and "Redo" entry to the Edit menu, which interfaces with the
DocumentPanel.fireUndoableEditEvent(javax.swing.event.UndoableEditEvent)method to provide undo/redo across the Document.