COSObjectablepublic class PDAnnotationPopup extends PDAnnotation
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
SUB_TYPE |
The type of annotation.
|
| Constructor | Description |
|---|---|
PDAnnotationPopup() |
Constructor.
|
PDAnnotationPopup(COSDictionary field) |
Creates a popup annotation from a COSDictionary, expected to be a correct object definition.
|
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAnnotation, getAnnotationFlags, getAnnotationName, getAppearance, getAppearanceState, getBorder, getColor, getColor, getContents, getCOSObject, getModifiedDate, getNormalAppearanceStream, getOptionalContent, getPage, getRectangle, getStructParent, getSubtype, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrinted, isReadOnly, isToggleNoView, setAnnotationFlags, setAnnotationName, setAppearance, setAppearanceState, setBorder, setColor, setContents, setHidden, setInvisible, setLocked, setModifiedDate, setModifiedDate, setNoRotate, setNoView, setNoZoom, setOptionalContent, setPage, setPrinted, setReadOnly, setRectangle, setStructParent, setToggleNoViewpublic static final java.lang.String SUB_TYPE
public PDAnnotationPopup()
public PDAnnotationPopup(COSDictionary field)
field - the PDF object to represent as a field.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()
Copyright © 2002–2018. All rights reserved.