public class FDFAnnotationText extends FDFAnnotation
Modifier and Type | Field and Description |
---|---|
static String |
SUBTYPE
COS Model value for SubType entry.
|
annot
Constructor and Description |
---|
FDFAnnotationText()
Default constructor.
|
FDFAnnotationText(COSDictionary a)
Constructor.
|
FDFAnnotationText(Element element)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getIcon()
This will retrieve the icon (and hence appearance, AP taking precedence) For this annotation.
|
String |
getState()
This will retrieve the annotation state.
|
String |
getStateModel()
This will retrieve the annotation state model.
|
void |
setIcon(String icon)
This will set the icon (and hence appearance, AP taking precedence) For this annotation.
|
void |
setState(String state)
This will set the annotation state.
|
void |
setStateModel(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 String SUBTYPE
public FDFAnnotationText()
public FDFAnnotationText(COSDictionary a)
a
- An existing FDF Annotation.public FDFAnnotationText(Element element) throws IOException
element
- An XFDF element.IOException
- If there is an error extracting information from the element.public void setIcon(String icon)
icon
- The name of the annotationpublic String getIcon()
public String getState()
public void setState(String state)
state
- the annotation statepublic String getStateModel()
public void setStateModel(String stateModel)
stateModel
- the annotation state modelCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.