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 class
AnnotationFile
A subtype newPDFAnnotation
that allows files to be attached to the PDF.class
AnnotationLink
A subtype newPDFAnnotation
that performs the specified action when clicked.class
AnnotationMarkup
This class represents the type ofPDFAnnotation
created by the "Text Edit" option in Acrobat 6.class
AnnotationNote
This class represents the type ofPDFAnnotation
created by the "Note Tool" in Acrobat.class
AnnotationRichMedia
This class is a type ofPDFAnnotation
that acts as a container for interactive media such as video.class
AnnotationShape
Creates an annotation based on the specifiedShape
.class
AnnotationSound
A subtype ofPDFAnnotation
that allows audio samples to be attached to the PDF.class
AnnotationStamp
A "Rubber-Stamp" annotation, which can also contain a longer message in an associated pop-up window.class
AnnotationText
This class represents the type ofPDFAnnotation
created by the "Text Markup" tool in Acrobat.class
WidgetAnnotation
TheWidgetAnnotation
class represents the type of annotation used to represent the visual contents of aFormElement
on the page.Fields in org.faceless.pdf2 with type parameters of type PDFAnnotation Modifier and Type Field Description static Collection<PDFAnnotation>
FDF. ALLANNOTATIONS
Special 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.PDFAnnotation
PDFAnnotation. getInReplyTo()
Return the PDFAnnotation that this annotation is in reply to, ornull
if this annotation is not in reply to anything.PDFAnnotation
PDFAnnotation. 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 ofPDFAnnotation
objects that fall partially inside the area being redacted.List<PDFAnnotation>
PDFPage. getAnnotations()
Return aList
of thePDFAnnotation
objects on this page.List<PDFAnnotation>
PDFAnnotation. getReplies()
Get an unmodifiable List ofPDFAnnotation
objects that are in reply to this Annotation.List<PDFAnnotation>
PDFAnnotation. getReviews()
Get an unmodifiable List ofPDFAnnotation
objects that are reviews of this Annotation.Methods in org.faceless.pdf2 with parameters of type PDFAnnotation Modifier and Type Method Description boolean
PagePainter. paintAnnotation(PDFAnnotation annotation, String state, Graphics2D graphics, float[] rect)
Paint a single annotation.void
PDFAnnotation. 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 void
FDF. 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 PDFAnnotation
AnnotationComponentFactory. createNewAnnotation()
Return a brand new annotation of the type that is edited with this factory.PDFAnnotation
AnnotationComponentFactory. 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 void
AnnotationComponentFactory. 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 theeditorpane
is using a GridBagLayout).static void
AnnotationComponentFactory. bindComponentLocation(JComponent component, PDFAnnotation annot)
Cause the specified JComponent to be positioned at same position as the PDFAnnotation.protected void
AnnotationComponentFactory. 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.JComponent
AnnotationComponentFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)
Return a JComponent that will visually represent the specified PDFAnnotation.protected Action
AnnotationComponentFactory. createDeleteAction(PDFAnnotation annot, Component comp)
protected Action
AnnotationComponentFactory. createEditAction(PDFAnnotation annot, Component comp)
JComponent
AnnotationComponentFactory. createEditComponent(PDFAnnotation annot, boolean readonly, boolean create)
Return a JComponent that can be used to edit the annotation or display additional information.protected Action
AnnotationComponentFactory. createFlattenAction(PDFAnnotation annot, Component comp)
Object
JSManager. getComponent(PDFAnnotation annot)
Return the JComponent matchin the specified PDFAnnotationvoid
AnnotationComponentFactory. 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 boolean
AnnotationComponentFactory. matches(PDFAnnotation annot)
Return true if this AnnotationComponentFactory could create aJComponent
for the specifiedPDFAnnotation
.protected void
AnnotationComponentFactory. popupPropertyMenu(PDFAnnotation annot, Component comp, Point where)
Display the Property menu for this annotation.void
AnnotationComponentFactory. postEdit(PDFAnnotation annot, PagePanel pagepanel, String action)
Called after an annotation is added or edited - by default, a no-opvoid
PagePanel. 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 PDFAnnotation
AnnotationEllipseFactory. createNewAnnotation(float x1, float y1, float x2, float y2)
PDFAnnotation
AnnotationLineFactory. createNewAnnotation(float x1, float y1, float x2, float y2)
PDFAnnotation
AnnotationNoteFactory. createNewAnnotation(float x1, float y1, float x2, float y2)
PDFAnnotation
AnnotationRectangleFactory. createNewAnnotation(float x1, float y1, float x2, float y2)
PDFAnnotation
AnnotationStampFactory. createNewAnnotation(float x1, float y1, float x2, float y2)
PDFAnnotation
AnnotationTextCalloutFactory. createNewAnnotation(float x1, float y1, float x2, float y2)
PDFAnnotation
AnnotationTextFactory. 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 void
AnnotationLinkFactory. copyAnnotationState(PDFAnnotation source, PDFAnnotation target)
protected void
AnnotationNoteFactory. copyAnnotationState(PDFAnnotation source, PDFAnnotation target)
protected void
AnnotationStampFactory. copyAnnotationState(PDFAnnotation source, PDFAnnotation target)
protected void
AnnotationTextCalloutFactory. copyAnnotationState(PDFAnnotation source, PDFAnnotation target)
protected void
AnnotationTextFactory. copyAnnotationState(PDFAnnotation source, PDFAnnotation target)
JComponent
AnnotationLineFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)
JComponent
AnnotationLinkFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)
JComponent
AnnotationNoteFactory. createComponent(PagePanel pagepanel, PDFAnnotation a)
JComponent
AnnotationSoundFactory. createComponent(PagePanel pagepanel, PDFAnnotation a)
JComponent
AnnotationStampFactory. createComponent(PagePanel pagepanel, PDFAnnotation a)
JComponent
AnnotationTextCalloutFactory. createComponent(PagePanel pagepanel, PDFAnnotation a)
JComponent
AnnotationTextFactory. createComponent(PagePanel pagepanel, PDFAnnotation a)
JComponent
FormBarCodeWidgetFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)
JComponent
FormBlankSignatureWidgetFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)
JComponent
FormButtonWidgetFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)
JComponent
FormChoiceWidgetFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)
JComponent
FormRadioButtonWidgetFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)
JComponent
FormSignedSignatureWidgetFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)
JComponent
FormTextWidgetFactory. createComponent(PagePanel pagepanel, PDFAnnotation annot)
JComponent
AnnotationNoteFactory. createEditComponent(PDFAnnotation gannot, boolean readonly, boolean create)
JComponent
AnnotationStampFactory. createEditComponent(PDFAnnotation annot, boolean readonly, boolean create)
JComponent
AnnotationTextCalloutFactory. createEditComponent(PDFAnnotation gannot, boolean readonly, boolean create)
JComponent
AnnotationTextFactory. createEditComponent(PDFAnnotation gannot, boolean readonly, boolean create)
boolean
AnnotationLinkFactory. matches(PDFAnnotation annot)
boolean
AnnotationNoteFactory. matches(PDFAnnotation annot)
boolean
AnnotationSoundFactory. matches(PDFAnnotation annot)
boolean
AnnotationStampFactory. matches(PDFAnnotation annot)
boolean
AnnotationTextCalloutFactory. matches(PDFAnnotation annot)
boolean
AnnotationTextFactory. matches(PDFAnnotation annot)
boolean
FormBarCodeWidgetFactory. matches(PDFAnnotation annot)
boolean
FormBlankSignatureWidgetFactory. matches(PDFAnnotation annot)
boolean
FormButtonWidgetFactory. matches(PDFAnnotation annot)
boolean
FormChoiceWidgetFactory. matches(PDFAnnotation annot)
boolean
FormRadioButtonWidgetFactory. matches(PDFAnnotation annot)
boolean
FormSignedSignatureWidgetFactory. matches(PDFAnnotation annot)
boolean
FormTextWidgetFactory. matches(PDFAnnotation annot)
-