| |
|
| java.lang.Object org.pdfbox.pdmodel.interactive.annotation.PDAnnotation org.pdfbox.pdmodel.interactive.annotation.PDAnnotationPopup
PDAnnotationPopup | public class PDAnnotationPopup extends PDAnnotation (Code) | | This is the class that represents a popup annotation.
Introduced in PDF 1.3 specification
author: Paul King version: $Revision: 1.2 $ |
Field Summary | |
final public static String | SUB_TYPE The type of annotation. |
Method Summary | |
public boolean | getOpen() This will retrieve the initial state of the annotation, open Or closed
(default closed). | public PDAnnotationMarkup | getParent() This will retrieve the markup annotation which this popup relates to. | public void | setOpen(boolean open) This will set inital state of the annotation, open or closed. | public void | setParent(PDAnnotationMarkup annot) This will set the markup annotation which this popup relates to. |
SUB_TYPE | final public static String SUB_TYPE(Code) | | The type of annotation.
|
PDAnnotationPopup | public PDAnnotationPopup()(Code) | | Constructor.
|
PDAnnotationPopup | public PDAnnotationPopup(COSDictionary field)(Code) | | Creates a popup annotation from a COSDictionary, expected to be a correct
object definition.
Parameters: field - the PDF objet to represent as a field. |
getOpen | public boolean getOpen()(Code) | | This will retrieve the initial state of the annotation, open Or closed
(default closed).
The initial state, true = open false = closed. |
getParent | public PDAnnotationMarkup getParent()(Code) | | This will retrieve the markup annotation which this popup relates to.
The parent markup annotation. |
setOpen | public void setOpen(boolean open)(Code) | | This will set inital state of the annotation, open or closed.
Parameters: open - Boolean value, true = open false = closed. |
setParent | public void setParent(PDAnnotationMarkup annot)(Code) | | This will set the markup annotation which this popup relates to.
Parameters: annot - the markup annotation. |
|
|
|