COSObjectable
public class FDFAnnotationText extends FDFAnnotation
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
SUBTYPE |
COS Model value for SubType entry.
|
annot
Constructor | Description |
---|---|
FDFAnnotationText() |
Default constructor.
|
FDFAnnotationText(COSDictionary a) |
Constructor.
|
FDFAnnotationText(org.w3c.dom.Element element) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getIcon() |
This will retrieve the icon (and hence appearance, AP taking precedence) For this annotation.
|
java.lang.String |
getState() |
This will retrieve the annotation state.
|
java.lang.String |
getStateModel() |
This will retrieve the annotation state model.
|
void |
setIcon(java.lang.String icon) |
This will set the icon (and hence appearance, AP taking precedence) For this annotation.
|
void |
setState(java.lang.String state) |
This will set the annotation state.
|
void |
setStateModel(java.lang.String stateModel) |
This will set the annotation state model.
|
create, getBorderEffect, getBorderStyle, getColor, getContents, getCOSObject, getCreationDate, getDate, getIntent, getName, getOpacity, getPage, getRectangle, getRichContents, getStringOrStream, getSubject, getTitle, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrinted, isReadOnly, isToggleNoView, setBorderEffect, setBorderStyle, setColor, setContents, setCreationDate, setDate, setHidden, setIntent, setInvisible, setLocked, setName, setNoRotate, setNoView, setNoZoom, setOpacity, setPage, setPrinted, setReadOnly, setRectangle, setRichContents, setSubject, setTitle, setToggleNoView
public static final java.lang.String SUBTYPE
public FDFAnnotationText()
public FDFAnnotationText(COSDictionary a)
a
- An existing FDF Annotation.public FDFAnnotationText(org.w3c.dom.Element element) throws java.io.IOException
element
- An XFDF element.java.io.IOException
- If there is an error extracting information from the element.public void setIcon(java.lang.String icon)
icon
- The name of the annotationpublic java.lang.String getIcon()
public java.lang.String getState()
public void setState(java.lang.String state)
state
- the annotation statepublic java.lang.String getStateModel()
public void setStateModel(java.lang.String stateModel)
stateModel
- the annotation state modelCopyright © 2002–2018. All rights reserved.