public class PopupAnnotation extends Annotation
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
open |
static Name |
OPEN_KEY
(Optional) A flag specifying whether the pop-up annotation shall
initially be displayed open.
|
protected MarkupAnnotation |
parent |
static Name |
PARENT_KEY
(Optional; shall be an indirect reference) The parent annotation with
which this pop-up annotation shall be associated.
|
ACTION_KEY, APPEARANCE_STATE_KEY, APPEARANCE_STREAM_DOWN_KEY, APPEARANCE_STREAM_KEY, APPEARANCE_STREAM_NORMAL_KEY, APPEARANCE_STREAM_ROLLOVER_KEY, appearances, BBOX_VALUE, border, BORDER_DASH, BORDER_HORIZONTAL_CORNER_RADIUS, BORDER_KEY, BORDER_STYLE_KEY, BORDER_VERTICAL_CORNER_RADIUS, BORDER_WIDTH, borderStyle, canDrawBorder, changeSupport, color, COLOR_KEY, compressAppearanceStream, content, CONTENTS_KEY, currentAppearance, FLAG_HIDDEN, FLAG_INVISIBLE, FLAG_KEY, FLAG_LOCKED, FLAG_LOCKED_CONTENTS, FLAG_NO_ROTATE, FLAG_NO_VIEW, FLAG_NO_ZOOM, FLAG_PRINT, FLAG_READ_ONLY, FLAG_TOGGLE_NO_VIEW, hasBlendingMode, INVISIBLE_RECTANGLE, M_KEY, modifiedDate, NM_KEY, PARENT_PAGE_KEY, RECTANGLE_KEY, RESOURCES_VALUE, securityManager, subtype, SUBTYPE_CIRCLE, SUBTYPE_FREE_TEXT, SUBTYPE_HIGHLIGHT, SUBTYPE_INK, SUBTYPE_LINE, SUBTYPE_LINK, SUBTYPE_POLYGON, SUBTYPE_POLYLINE, SUBTYPE_POPUP, SUBTYPE_SQUARE, SUBTYPE_TEXT, SUBTYPE_WIDGET, TYPE, TYPE_VALUE, userSpaceRectangle, VISIBLE_RECTANGLEentries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY| Constructor and Description |
|---|
PopupAnnotation(Library l,
java.util.HashMap h) |
| Modifier and Type | Method and Description |
|---|---|
static PopupAnnotation |
getInstance(Library library,
java.awt.Rectangle rect)
Gets an instance of a PopupAnnotation that has valid Object Reference.
|
MarkupAnnotation |
getParent() |
void |
init()
Initiate the Dictionary.
|
boolean |
isOpen() |
void |
resetAppearanceStream(double dx,
double dy,
java.awt.geom.AffineTransform pageTransform) |
void |
setOpen(boolean open) |
void |
setParent(MarkupAnnotation parent) |
addAction, addPropertyChangeListener, allowAlterProperties, allowPrintNormalMode, allowScreenDownMode, allowScreenNormalMode, allowScreenOrPrintRenderingOrInteraction, allowScreenRolloverMode, buildAnnotation, deleteAction, deriveDrawingRectangle, getAction, getAppearances, getAppearanceStream, getBbox, getBorder, getBorderStyle, getBorderStyleStroke, getBorderType, getColor, getContents, getCurrentAppearance, getFlagHidden, getFlagInvisible, getFlagLocked, getFlagLockedContents, getFlagNoRotate, getFlagNoView, getFlagNoZoom, getFlagPrint, getFlagReadOnly, getFlagToggleNoView, getLineStyle, getLineThickness, getOrGenerateAppearanceForm, getPage, getParentAnnotation, getShapes, getSubType, getUserSpaceRectangle, hasAppearanceStream, isBorder, isSupportedAnnotationType, render, renderAppearanceStream, renderBorder, renderBorderTabSelected, resetAppearanceStream, resetNullAppearanceStream, setBBox, setBorderStyle, setColor, setCompressAppearanceStream, setContents, setCurrentAppearance, setFlag, setModifiedDate, setSubtype, setUserSpaceRectangle, syncBBoxToUserSpaceRectangle, toString, updateActiongetEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, isDeleted, isNew, setDeleted, setNew, setPObjectReferencepublic static final Name PARENT_KEY
public static final Name OPEN_KEY
protected boolean open
protected MarkupAnnotation parent
public PopupAnnotation(Library l, java.util.HashMap h)
public void init()
Dictionaryinit in class Annotationpublic static PopupAnnotation getInstance(Library library, java.awt.Rectangle rect)
library - document libraryrect - bounding rectangle in user spacepublic void resetAppearanceStream(double dx,
double dy,
java.awt.geom.AffineTransform pageTransform)
resetAppearanceStream in class Annotationpublic boolean isOpen()
public void setOpen(boolean open)
public MarkupAnnotation getParent()
public void setParent(MarkupAnnotation parent)