Uses of Class
org.faceless.pdf2.PDFAnnotation
-
Packages that use PDFAnnotation Package Description org.faceless.pdf2 Contains the classes used to create a PDF documentorg.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 PDFAnnotation in org.faceless.pdf2
Subclasses of PDFAnnotation in org.faceless.pdf2 Modifier and Type Class Description classAnnotationFileA subtype newPDFAnnotationthat allows files to be attached to the PDF.classAnnotationLinkA subtype newPDFAnnotationthat performs the specified action when clicked.classAnnotationMarkupThis class represents the type ofPDFAnnotationcreated by the "Text Edit" option in Acrobat 6.classAnnotationNoteThis class represents the type ofPDFAnnotationcreated by the "Note Tool" in Acrobat.classAnnotationRichMediaThis class is a type ofPDFAnnotationthat acts as a container for interactive media such as video.classAnnotationShapeCreates an annotation based on the specifiedShape.classAnnotationSoundA subtype ofPDFAnnotationthat allows audio samples to be attached to the PDF.classAnnotationStampA "Rubber-Stamp" annotation, which can also contain a longer message in an associated pop-up window.classAnnotationTextThis class represents the type ofPDFAnnotationcreated by the "Text Markup" tool in Acrobat.classWidgetAnnotationTheWidgetAnnotationclass represents the type of annotation used to represent the visual contents of aFormElementon the page.Fields in org.faceless.pdf2 with type parameters of type PDFAnnotation Modifier and Type Field Description static Collection<PDFAnnotation>FDF. ALLANNOTATIONSSpecial value that can be passed toFDF.setAnnotations(java.util.Collection<org.faceless.pdf2.PDFAnnotation>)to include all annotations in the PDFMethods in org.faceless.pdf2 that return PDFAnnotation Modifier and Type Method Description PDFAnnotation[]PDFPage. endTextLink()End the "link" section in the text, analogous to the </A> tag in HTML.PDFAnnotationPDFAnnotation. getInReplyTo()Return the PDFAnnotation that this annotation is in reply to, ornullif this annotation is not in reply to anything.PDFAnnotationPDFAnnotation. getPopup()Return the Popup annotation for this annotation.Methods in org.faceless.pdf2 that return types with arguments of type PDFAnnotation Modifier and Type Method Description List<PDFAnnotation>Redactor. findAnnotations()Return a List ofPDFAnnotationobjects that fall partially inside the area being redacted.List<PDFAnnotation>PDFPage. getAnnotations()Return aListof thePDFAnnotationobjects on this page.List<PDFAnnotation>PDFAnnotation. getReplies()Get an unmodifiable List ofPDFAnnotationobjects that are in reply to this Annotation.List<PDFAnnotation>PDFAnnotation. getReviews()Get an unmodifiable List ofPDFAnnotationobjects that are reviews of this Annotation.Methods in org.faceless.pdf2 with parameters of type PDFAnnotation Modifier and Type Method Description booleanPagePainter. paintAnnotation(PDFAnnotation annotation, String state, Graphics2D graphics, float[] rect)Paint a single annotation.voidPDFAnnotation. setInReplyTo(PDFAnnotation annotation)Set which annotation this annotation is in reply to.Method parameters in org.faceless.pdf2 with type arguments of type PDFAnnotation Modifier and Type Method Description voidFDF. setAnnotations(Collection<PDFAnnotation> annots)Add the specified annotations to the FDF. -
Uses of PDFAnnotation in org.faceless.pdf2.viewer2
Methods in org.faceless.pdf2.viewer2 that return PDFAnnotation Modifier and Type Method Description PDFAnnotationAnnotationComponentFactory. createNewAnnotation()Return a brand new annotation of the type that is edited with this factory.PDFAnnotationAnnotationComponentFactory. createNewAnnotation(float x1, float y1, float x2, float y2)Returns a new annotation of this factory's type with specified bounds.Methods in org.faceless.pdf2.viewer2 with parameters of type PDFAnnotation Modifier and Type Method Description protected voidAnnotationComponentFactory. addStockDetailsToEditComponent(PDFAnnotation annot, JComponent editorpane)Convenience method that can be used by factories to add universal details about the annotation (date, author etc) to the EditComponent in a standardized way (assuming that theeditorpaneis using a GridBagLayout).static voidAnnotationComponentFactory. bindComponentLocation(JComponent component, PDFAnnotation annot)Cause the specified JComponent to be positioned at same position as the PDFAnnotation.protected voidAnnotationComponentFactory. copyAnnotationState(PDFAnnotation source, PDFAnnotation target)Copies the properties of a given source annotation created by this factory to a target annotation of the same type.JComponentAnnotationComponentFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)Return a JComponent that will visually represent the specified PDFAnnotation.protected ActionAnnotationComponentFactory. createDeleteAction(PDFAnnotation annot, Component comp)protected ActionAnnotationComponentFactory. createEditAction(PDFAnnotation annot, Component comp)JComponentAnnotationComponentFactory. createEditComponent(PDFAnnotation annot, boolean readonly, boolean create)Return a JComponent that can be used to edit the annotation or display additional information.protected ActionAnnotationComponentFactory. createFlattenAction(PDFAnnotation annot, Component comp)ObjectJSManager. getComponent(PDFAnnotation annot)Return the JComponent matchin the specified PDFAnnotationvoidAnnotationComponentFactory. makeComponentInteractive(JComponent comp, PDFAnnotation annot, boolean showproperties, boolean movable, boolean resizable, PagePanel pagepanel)Given an Annotation component created by a subclass of this factory, add appropriate handlers to it to make it interact with mouse movement by the user.abstract booleanAnnotationComponentFactory. matches(PDFAnnotation annot)Return true if this AnnotationComponentFactory could create aJComponentfor the specifiedPDFAnnotation.protected voidAnnotationComponentFactory. popupPropertyMenu(PDFAnnotation annot, Component comp, Point where)Display the Property menu for this annotation.voidAnnotationComponentFactory. postEdit(PDFAnnotation annot, PagePanel pagepanel, String action)Called after an annotation is added or edited - by default, a no-opvoidPagePanel. redrawAnnotation(PDFAnnotation annot)Redraw the specified annotation on this page. -
Uses of PDFAnnotation in org.faceless.pdf2.viewer2.feature
Methods in org.faceless.pdf2.viewer2.feature that return PDFAnnotation Modifier and Type Method Description PDFAnnotationAnnotationEllipseFactory. createNewAnnotation(float x1, float y1, float x2, float y2)PDFAnnotationAnnotationLineFactory. createNewAnnotation(float x1, float y1, float x2, float y2)PDFAnnotationAnnotationNoteFactory. createNewAnnotation(float x1, float y1, float x2, float y2)PDFAnnotationAnnotationRectangleFactory. createNewAnnotation(float x1, float y1, float x2, float y2)PDFAnnotationAnnotationStampFactory. createNewAnnotation(float x1, float y1, float x2, float y2)PDFAnnotationAnnotationTextCalloutFactory. createNewAnnotation(float x1, float y1, float x2, float y2)PDFAnnotationAnnotationTextFactory. createNewAnnotation(float x1, float y1, float x2, float y2)Methods in org.faceless.pdf2.viewer2.feature with parameters of type PDFAnnotation Modifier and Type Method Description protected voidAnnotationLinkFactory. copyAnnotationState(PDFAnnotation source, PDFAnnotation target)protected voidAnnotationNoteFactory. copyAnnotationState(PDFAnnotation source, PDFAnnotation target)protected voidAnnotationStampFactory. copyAnnotationState(PDFAnnotation source, PDFAnnotation target)protected voidAnnotationTextCalloutFactory. copyAnnotationState(PDFAnnotation source, PDFAnnotation target)protected voidAnnotationTextFactory. copyAnnotationState(PDFAnnotation source, PDFAnnotation target)JComponentAnnotationLineFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)JComponentAnnotationLinkFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)JComponentAnnotationNoteFactory. createComponent(PagePanel pagepanel, PDFAnnotation a)JComponentAnnotationSoundFactory. createComponent(PagePanel pagepanel, PDFAnnotation a)JComponentAnnotationStampFactory. createComponent(PagePanel pagepanel, PDFAnnotation a)JComponentAnnotationTextCalloutFactory. createComponent(PagePanel pagepanel, PDFAnnotation a)JComponentAnnotationTextFactory. createComponent(PagePanel pagepanel, PDFAnnotation a)JComponentFormBarCodeWidgetFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)JComponentFormBlankSignatureWidgetFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)JComponentFormButtonWidgetFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)JComponentFormChoiceWidgetFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)JComponentFormRadioButtonWidgetFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)JComponentFormSignedSignatureWidgetFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)JComponentFormTextWidgetFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)JComponentAnnotationNoteFactory. createEditComponent(PDFAnnotation gannot, boolean readonly, boolean create)JComponentAnnotationStampFactory. createEditComponent(PDFAnnotation annot, boolean readonly, boolean create)JComponentAnnotationTextCalloutFactory. createEditComponent(PDFAnnotation gannot, boolean readonly, boolean create)JComponentAnnotationTextFactory. createEditComponent(PDFAnnotation gannot, boolean readonly, boolean create)booleanAnnotationLinkFactory. matches(PDFAnnotation annot)booleanAnnotationNoteFactory. matches(PDFAnnotation annot)booleanAnnotationSoundFactory. matches(PDFAnnotation annot)booleanAnnotationStampFactory. matches(PDFAnnotation annot)booleanAnnotationTextCalloutFactory. matches(PDFAnnotation annot)booleanAnnotationTextFactory. matches(PDFAnnotation annot)booleanFormBarCodeWidgetFactory. matches(PDFAnnotation annot)booleanFormBlankSignatureWidgetFactory. matches(PDFAnnotation annot)booleanFormButtonWidgetFactory. matches(PDFAnnotation annot)booleanFormChoiceWidgetFactory. matches(PDFAnnotation annot)booleanFormRadioButtonWidgetFactory. matches(PDFAnnotation annot)booleanFormSignedSignatureWidgetFactory. matches(PDFAnnotation annot)booleanFormTextWidgetFactory. matches(PDFAnnotation annot)
-