Uses of Class
org.faceless.pdf2.viewer2.DocumentPanel
-
Packages that use DocumentPanel Package Description org.faceless.pdf2.viewer2 The "viewer" package contains the classes required to create a Swing application to display PDFs.org.faceless.pdf2.viewer2.feature Contains a list of all the features that are available to the PDFViewer. -
-
Uses of DocumentPanel in org.faceless.pdf2.viewer2
Methods in org.faceless.pdf2.viewer2 that return DocumentPanel Modifier and Type Method Description DocumentPanel
PDFViewer. getActiveDocumentPanel()
Return the activeDocumentPanel
DocumentPanel
DocumentPanelEvent. getDocumentPanel()
Get the DocumentPanel this event was raised onDocumentPanel
DocumentViewport. getDocumentPanel()
Return theDocumentPanel
containing this DocumentViewport.DocumentPanel
JSManager. getDocumentPanel(PDF pdf)
Return the DocumentPanel that contains the specified PDFDocumentPanel
PagePanel. getDocumentPanel()
Get theDocumentPanel
this PagePanel is contained inside, ornull
if this PagePanel was not created as part of aDocumentPanel
.DocumentPanel
ViewerEvent. getDocumentPanel()
Return the activeDocumentPanel
of the PDFViewer, ornull
if no DocumentPanel is active.DocumentPanel[]
PDFViewer. getDocumentPanels()
Return all theDocumentPanel
s in the viewerMethods in org.faceless.pdf2.viewer2 with parameters of type DocumentPanel Modifier and Type Method Description void
PDFViewer. closeDocumentPanel(DocumentPanel panel)
Close the specifiedDocumentPanel
static DocumentPanelEvent
DocumentPanelEvent. createActivated(DocumentPanel panel)
Create an "activated" DocumentPanelEventstatic DocumentPanelEvent
DocumentPanelEvent. createClosing(DocumentPanel panel)
Create a "closing" DocumentPanelEventstatic DocumentPanelEvent
DocumentPanelEvent. createCreated(DocumentPanel panel)
Create a "created" DocumentPanelEventstatic DocumentPanelEvent
DocumentPanelEvent. createDeactivated(DocumentPanel panel)
Create a "deactivated" DocumentPanelEventstatic DocumentPanelEvent
DocumentPanelEvent. createLoaded(DocumentPanel panel)
Create a "loaded" DocumentPanelEventstatic DocumentPanelEvent
DocumentPanelEvent. createPageChanged(DocumentPanel panel)
Create a "pageChanged" DocumentPanelEventstatic DocumentPanelEvent
DocumentPanelEvent. createPagePositionChanged(DocumentPanel panel)
Create a "pagePositionChanged" DocumentPanelEventstatic DocumentPanelEvent
DocumentPanelEvent. createPermissionChanged(DocumentPanel panel, String permission)
Create a "permissionChanged" DocumentPanelEventstatic DocumentPanelEvent
DocumentPanelEvent. createRedrawn(DocumentPanel panel)
Create a "redrawn" DocumentPanelEventstatic DocumentPanelEvent
DocumentPanelEvent. createStateChanged(DocumentPanel panel, Object state)
Create a "stateChanged" DocumentPanelEventstatic DocumentPanelEvent
DocumentPanelEvent. createViewportChanged(DocumentPanel panel)
Create a "viewportChanged" DocumentPanelEventJComponent
Exporter. getComponent(DocumentPanel panel, File file)
Return a JComponent which prompts the user for additional information after the initial save dialog.abstract Exporter.ExporterTask
Exporter. getExporter(DocumentPanel panel, PDF pdf, JComponent component, OutputStream out)
Return a newExporter.ExporterTask
that would save a PDFstatic ImageIcon
SignatureProvider. getIcon(DocumentPanel docpanel, FormSignature field)
Get an Icon that can be used to describe the specified signature.static SignatureProvider.SignatureState
SignatureProvider. getSignatureState(DocumentPanel docpanel, FormSignature field)
Get a previously determinedSignatureProvider.SignatureState
for the specified signature field, as set bysetSignatureState()
.List<Map.Entry<String,String>>
SignatureProvider. getSummaryText(FormSignature field, DocumentPanel docpanel)
boolean
Exporter. isEnabled(DocumentPanel docpanel)
Return true if this Exporter should be available for this DocumentPanel.boolean
AnnotationComponentFactory. isFactoryReadOnly(DocumentPanel panel)
Indicates whether annotations may be created, removed, or edited.boolean
SidePanelFactory. isSidePanelRequired(DocumentPanel docpanel)
Determines whether this side panel is required for this PDF.abstract boolean
ActionHandler. matches(DocumentPanel panel, PDFAction action)
Return true if this ActionFactory can handle the specifiedPDFAction
abstract void
ActionHandler. run(DocumentPanel panel, PDFAction action)
Run the specified actionJSEvent
JSManager. runEventBatchExec(DocumentPanel panel, PDF pdf, String javascript)
Raise theBatch/Exec
JavaScript methodJSEvent
JSManager. runEventBookmarkMouseUp(DocumentPanel panel, PDFBookmark bookmark)
Raise theBookmark/MouseUp
JavaScript methodJSEvent
JSManager. runEventConsoleExec(DocumentPanel panel, String javascript)
Raise theConsole/Exec
JavaScript methodJSEvent
JSManager. runEventDocDidPrint(DocumentPanel panel)
Raise theDoc/DidPrint
JavaScript methodJSEvent
JSManager. runEventDocDidSave(DocumentPanel panel)
Raise theDoc/DidSave
JavaScript methodJSEvent
JSManager. runEventDocOpen(DocumentPanel panel, String targetName)
Raise theDoc/Open
JavaScript methodJSEvent
JSManager. runEventDocWillClose(DocumentPanel panel)
Raise theDoc/WillClose
JavaScript methodJSEvent
JSManager. runEventDocWillPrint(DocumentPanel panel)
Raise theDoc/WillPrint
JavaScript methodJSEvent
JSManager. runEventDocWillSave(DocumentPanel panel)
Raise theDoc/WillSave
JavaScript methodJSEvent
JSManager. runEventExternalExec(DocumentPanel panel, String javascript)
Raise theExternal/Exec
JavaScript methodJSEvent
JSManager. runEventFieldBlur(DocumentPanel panel, WidgetAnnotation annot, boolean shift, boolean modifier)
Raise theField/Blur
JavaScript methodJSEvent
JSManager. runEventFieldCalculate(DocumentPanel panel, WidgetAnnotation target, WidgetAnnotation source)
Raise theField/Calculate
JavaScript methodJSEvent
JSManager. runEventFieldFocus(DocumentPanel panel, WidgetAnnotation annot, boolean shift, boolean modifier)
Raise theField/Focus
JavaScript methodJSEvent
JSManager. runEventFieldFormat(DocumentPanel panel, WidgetAnnotation annot, int commitKey, boolean willCommit)
Raise theField/Format
JavaScript methodJSEvent
JSManager. runEventFieldKeystroke(DocumentPanel panel, WidgetAnnotation annot, int commitKey, String change, String changeEx, boolean fieldFull, boolean keyDown, boolean modifier, int selStart, int selEnd, boolean shift, String value, boolean willCommit)
Raise theField/Keystroke
JavaScript methodJSEvent
JSManager. runEventFieldMouseDown(DocumentPanel panel, WidgetAnnotation annot, MouseEvent mevent)
Raise theField/Mouse Down
JavaScript methodJSEvent
JSManager. runEventFieldMouseEnter(DocumentPanel panel, WidgetAnnotation annot, MouseEvent mevent)
Raise theField/Mouse Enter
JavaScript methodJSEvent
JSManager. runEventFieldMouseExit(DocumentPanel panel, WidgetAnnotation annot, MouseEvent mevent)
Raise theField/Mouse Exit
JavaScript methodJSEvent
JSManager. runEventFieldMouseUp(DocumentPanel panel, WidgetAnnotation annot, MouseEvent mevent)
Raise theField/Mouse Up
JavaScript methodJSEvent
JSManager. runEventFieldValidate(DocumentPanel panel, WidgetAnnotation annot, String value, boolean shift, boolean modifier, String change, String changeEx, boolean keyDown)
Raise theField/Validate
JavaScript methodJSEvent
JSManager. runEventLinkMouseUp(DocumentPanel panel, AnnotationLink annot)
Raise theLink/Mouse Up
JavaScript methodJSEvent
JSManager. runEventPageClose(DocumentPanel panel, PDFPage page)
Raise thePage/Close
JavaScript methodJSEvent
JSManager. runEventPageOpen(DocumentPanel panel, PDFPage page)
Raise thePage/Open
JavaScript methodstatic void
SignatureProvider. selectSignProvider(DocumentPanel docpanel, FormSignature field, JComponent comp, Point point, ActionListener listener)
Select a SignatureProvider that can be used to sign the specified signature field.static void
SignatureProvider. selectVerifyProvider(DocumentPanel docpanel, FormSignature field, JComponent comp, Point point, ActionListener listener)
Select a SignatureProvider that can be used to verify the specified signature field.void
DocumentViewport. setDocumentPanel(DocumentPanel panel)
Set the DocumentPanel that contains this DocumentViewport.void
DualPageDocumentViewport. setDocumentPanel(DocumentPanel panel)
void
MultiPageDocumentViewport. setDocumentPanel(DocumentPanel panel)
void
SidePanel. setDocumentPanel(DocumentPanel panel)
Set theDocumentPanel
this SidePanel is a member of.void
SinglePageDocumentViewport. setDocumentPanel(DocumentPanel panel)
static void
SignatureProvider. setSignatureState(DocumentPanel docpanel, FormSignature field, SignatureProvider.SignatureState state)
Set theSignatureProvider.SignatureState
of this field - should be called by theshowVerifyDialog()
method after the field has been verified, to save the details of the verification.static URL
Util. toURL(DocumentPanel docpanel, String path)
Attempt to convert a relative URL to an absolute one.Constructors in org.faceless.pdf2.viewer2 with parameters of type DocumentPanel Constructor Description ViewerEvent(PDFViewer viewer, DocumentPanel panel)
Create a new ViewerEvent manually -
Uses of DocumentPanel in org.faceless.pdf2.viewer2.feature
Fields in org.faceless.pdf2.viewer2.feature declared as DocumentPanel Modifier and Type Field Description protected DocumentPanel
NavigationWidget. docpanel
The currently selected document panel.Methods in org.faceless.pdf2.viewer2.feature that return DocumentPanel Modifier and Type Method Description DocumentPanel
ThumbnailPanel.View. getDocumentPanel()
Get the DocumentPanel this View relates toMethods in org.faceless.pdf2.viewer2.feature with parameters of type DocumentPanel Modifier and Type Method Description void
BackgroundTextExtractor. extract(DocumentPanel docpanel)
This method is run by this feature when a new DocumentPanel is loaded.protected JComponent
KeyStoreSignatureProvider. getCertificatesPanel(KeyStoreSignatureProvider.X509SignatureState state, DocumentPanel root, X509Certificate[] certs, X509Certificate cert, JTabbedPane tabbedpane)
Return a JComponent that contains information about the X.509 certificates used in the signature.JComponent
TIFFExporter. getComponent(DocumentPanel panel, File file)
Exporter.ExporterTask
PDFExporter. getExporter(DocumentPanel docpanel, PDF pdf, JComponent c, OutputStream out)
Exporter.ExporterTask
TextExporter. getExporter(DocumentPanel docpanel, PDF pdf, JComponent c, OutputStream out)
Exporter.ExporterTask
TIFFExporter. getExporter(DocumentPanel panel, PDF pdf, JComponent c, OutputStream out)
protected JComponent
KeyStoreSignatureProvider. getSignatureStatePanel(KeyStoreSignatureProvider.X509SignatureState state, DocumentPanel root)
Return a JComponent that contains information about the SignatureState.protected JComponent
KeyStoreSignatureProvider. getTimestampPanel(KeyStoreSignatureProvider.X509SignatureState state, DocumentPanel root)
Return a JComponent that contains information about the timestamp of the signature.boolean
PDFExporter. isEnabled(DocumentPanel docpanel)
boolean
TextExporter. isEnabled(DocumentPanel docpanel)
boolean
EmbeddedFilePanel. isSidePanelRequired(DocumentPanel docpanel)
boolean
OutlinePanel. isSidePanelRequired(DocumentPanel docpanel)
boolean
SignaturePanel. isSidePanelRequired(DocumentPanel docpanel)
boolean
FormImportDataActionHandler. matches(DocumentPanel panel, PDFAction action)
boolean
FormResetActionHandler. matches(DocumentPanel panel, PDFAction action)
boolean
FormSubmitActionHandler. matches(DocumentPanel panel, PDFAction action)
boolean
GenericNamedActionHandler. matches(DocumentPanel panel, PDFAction action)
boolean
GoToActionHandler. matches(DocumentPanel panel, PDFAction action)
boolean
ShowHideActionHandler. matches(DocumentPanel panel, PDFAction action)
boolean
SoundActionHandler. matches(DocumentPanel panel, PDFAction action)
boolean
URLActionHandler. matches(DocumentPanel panel, PDFAction action)
void
Undo. redo(DocumentPanel panel)
Perform a redo action on the specified panelvoid
FormImportDataActionHandler. run(DocumentPanel docpanel, PDFAction action)
void
FormResetActionHandler. run(DocumentPanel docpanel, PDFAction action)
void
FormSubmitActionHandler. run(DocumentPanel docpanel, PDFAction action)
static void
GenericNamedActionHandler. run(DocumentPanel docpanel, String action)
Run the specified "named" action.void
GenericNamedActionHandler. run(DocumentPanel docpanel, PDFAction action)
void
GoToActionHandler. run(DocumentPanel docpanel, PDFAction action)
void
ShowHideActionHandler. run(DocumentPanel docpanel, PDFAction action)
void
SoundActionHandler. run(DocumentPanel docpanel, PDFAction action)
void
URLActionHandler. run(DocumentPanel panel, PDFAction action)
void
MarkupSelectionAction. selectAction(DocumentPanel docpanel, TextSelection.RangeList list)
void
RedactSelectionAction. selectAction(DocumentPanel docpanel, TextSelection.RangeList list)
void
TextCopyAction. selectAction(DocumentPanel docpanel, TextSelection.RangeList range)
void
TextSelectionAction. selectAction(DocumentPanel docpanel, TextSelection.RangeList ranges)
Run the action.void
NetworkSave. setAdditionalHeaders(URLConnection con, DocumentPanel panel)
Set any additional headers on the connection, or modify the PDF if necessary before saving.void
SearchPanel.Results. setDocumentPanel(DocumentPanel docpanel)
void
ThumbnailPanel.ThumbnailSidePanel. setDocumentPanel(DocumentPanel docpanel)
void
FormBlankSignatureWidgetFactory. sign(FormSignature field, DocumentPanel docpanel, SignatureProvider provider)
Sign the field, by calling theshowSignDialog()
method on the specified SignatureServiceProvider.void
InvisiblySignDocument. sign(FormSignature field, DocumentPanel docpanel, SignatureProvider provider)
Sign the Signature field.void
BackgroundTextExtractor. startExtraction(DocumentPanel docpanel)
Start a background thread to run theBackgroundTextExtractor.extract(org.faceless.pdf2.viewer2.DocumentPanel)
methodvoid
BackgroundSignatureVerifier. startVerification(DocumentPanel docpanel, Collection<? extends FormElement> fields)
Start a background thread that runs theverify()
methodvoid
FormSubmitActionHandler. submit(DocumentPanel docpanel, String url, String method, String[] fields, int annotations, int flags)
Submit the document form.void
Undo. undo(DocumentPanel panel)
Perform an undo action on the specified panelvoid
BackgroundSignatureVerifier. verify(DocumentPanel docpanel, Collection<FormSignature> fields)
Verify the specified collection of fields.void
FormSignedSignatureWidgetFactory. verify(FormSignature field, DocumentPanel docpanel, SignatureProvider provider)
Verify the signature field, by calling theshowVerifyDialog()
method on the specified SignatureProviderConstructors in org.faceless.pdf2.viewer2.feature with parameters of type DocumentPanel Constructor Description RangeList(DocumentPanel docpanel, List<? extends TextSelection.Range> list, Comparator<PageExtractor.Text> order)
Create a RangeList containing a list ofTextSelection.Range
objectsRangeList(DocumentPanel docpanel, TextSelection.Range range, Comparator<PageExtractor.Text> order)
Create a RangeList containing a singleTextSelection.Range
SaveFileChooser(File file, DocumentPanel docpanel, List<Exporter> exporters, boolean overwriteprompt)
-