|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation
org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationPopup
public class PDAnnotationPopup
This is the class that represents a popup annotation. Introduced in PDF 1.3 specification
Field Summary | |
---|---|
static String |
SUB_TYPE
The type of annotation. |
Fields inherited from class org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation |
---|
FLAG_HIDDEN, FLAG_INVISIBLE, FLAG_LOCKED, FLAG_NO_ROTATE, FLAG_NO_VIEW, FLAG_NO_ZOOM, FLAG_PRINTED, FLAG_READ_ONLY, FLAG_TOGGLE_NO_VIEW |
Constructor Summary | |
---|---|
PDAnnotationPopup()
Constructor. |
|
PDAnnotationPopup(COSDictionary field)
Creates a popup annotation from a COSDictionary, expected to be a correct object definition. |
Method Summary | |
---|---|
boolean |
getOpen()
This will retrieve the initial state of the annotation, open Or closed (default closed). |
PDAnnotationMarkup |
getParent()
This will retrieve the markup annotation which this popup relates to. |
void |
setOpen(boolean open)
This will set inital state of the annotation, open or closed. |
void |
setParent(PDAnnotationMarkup annot)
This will set the markup annotation which this popup relates to. |
Methods inherited from class org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation |
---|
createAnnotation, getAnnotationFlags, getAnnotationName, getAppearance, getAppearanceStream, getColour, getContents, getCOSObject, getDictionary, getModifiedDate, getPage, getRectangle, getSubtype, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrinted, isReadOnly, isToggleNoView, setAnnotationFlags, setAnnotationName, setAppearance, setAppearanceStream, setColour, setContents, setHidden, setInvisible, setLocked, setModifiedDate, setNoRotate, setNoView, setNoZoom, setPrinted, setReadOnly, setRectangle, setToggleNoView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SUB_TYPE
Constructor Detail |
---|
public PDAnnotationPopup()
public PDAnnotationPopup(COSDictionary field)
field
- the PDF objet to represent as a field.Method Detail |
---|
public void setOpen(boolean open)
open
- Boolean value, true = open false = closed.public boolean getOpen()
public void setParent(PDAnnotationMarkup annot)
annot
- the markup annotation.public PDAnnotationMarkup getParent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |