public class WidgetAnnotation extends Annotation
Class representing widget annotation.
_disableUpdateAppearance
Constructor and Description |
---|
WidgetAnnotation(IDocument doc)
Create annotation (used for Generator)
|
Modifier and Type | Method and Description |
---|---|
void |
accept(AnnotationSelector visitor)
Accepts visitor.
|
AnnotationActionCollection |
getAnnotationActions()
Gets the annotation actions.
|
int |
getAnnotationType()
Gets type of annotation.
|
DefaultAppearance |
getDefaultAppearance()
Gets default appearance of the field.
|
boolean |
getExportable()
Gets exportable flag of the field.
|
int |
getHighlighting()
Annotation highlighting mode.
|
PdfAction |
getOnActivated()
Get an action which shall be performed when the annotation is activated.
|
Field |
getParent()
Gets annotation parent.
|
boolean |
getReadOnly()
Gets read only status of the field.
|
boolean |
getRequired()
Gets required status of the field.
|
void |
setDefaultAppearance(DefaultAppearance value)
Sets default appearance of the field.
|
void |
setExportable(boolean value)
Sets read only status of the field.
|
void |
setHighlighting(int value)
Annotation highlighting mode.
|
void |
setOnActivated(PdfAction value)
Set an action which shall be performed when the annotation is activated.
|
void |
setReadOnly(boolean value)
Sets read only status of the field.
|
void |
setRequired(boolean value)
Sets read only status of the field.
|
createAnnotation, flatten, getActiveState, getAlignment, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPage, getPageIndex, getPageIndex, getPdfActions, getRect, getRectangle, getStates, getTextHorizontalAlignment, getWidth, initialize, isUpdateAppearanceOnConvert, isUseFontSubset, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setRect, setStructParent, setTextHorizontalAlignment, setUpdateAppearanceOnConvert, setUseFontSubset, setWidth
deepClone, getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndex
public WidgetAnnotation(IDocument doc)
Create annotation (used for Generator)
doc
- Document where annotation will be created.public PdfAction getOnActivated()
Get an action which shall be performed when the annotation is activated.
public void setOnActivated(PdfAction value)
Set an action which shall be performed when the annotation is activated.
value
- PdfAction objectpublic AnnotationActionCollection getAnnotationActions()
Gets the annotation actions.
public int getHighlighting()
Annotation highlighting mode.
HighlightingMode
public void setHighlighting(int value)
Annotation highlighting mode.
value
- HighlightingMode valueHighlightingMode
public Field getParent()
Gets annotation parent.
public DefaultAppearance getDefaultAppearance()
Gets default appearance of the field.
public void setDefaultAppearance(DefaultAppearance value)
Sets default appearance of the field.
value
- DefaultAppearance objectpublic boolean getReadOnly()
Gets read only status of the field.
public void setReadOnly(boolean value)
Sets read only status of the field.
value
- boolean valuepublic boolean getRequired()
Gets required status of the field.
public void setRequired(boolean value)
Sets read only status of the field.
value
- boolean valuepublic boolean getExportable()
Gets exportable flag of the field.
public void setExportable(boolean value)
Sets read only status of the field.
value
- boolean valuepublic void accept(AnnotationSelector visitor)
Accepts visitor.
accept
in class Annotation
visitor
- Visitor to be accepted.public int getAnnotationType()
Gets type of annotation.
getAnnotationType
in class Annotation
AnnotationType