public class WidgetAnnotation extends Annotation
Class representing widget annotation.
_disableUpdateAppearance
Modifier and Type | Method and Description |
---|---|
void |
accept(AnnotationSelector visitor)
Accepts visitor.
|
AnnotationActionCollection |
getActions()
Gets the annotation actions.
|
DefaultAppearance |
getDefaultAppearance()
Gets default appearance of the field.
|
boolean |
getExportable()
Gets or sets 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 or sets read only status of the field.
|
boolean |
getRequired()
Gets or sets required status of the field.
|
void |
setDefaultAppearance(DefaultAppearance value)
Sets default appearance of the field.
|
void |
setExportable(boolean value)
Sets or 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 or sets read only status of the field.
|
void |
setRequired(boolean value)
Sets or 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, getRect, getStates, getWidth, initialize, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setRect, setWidth
deepClone, getMargin, isKeptWithNext, isKeptWithNext, setHorizontalAlignment, setMargin, setVerticalAlignment
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 getActions()
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 or sets read only status of the field.
public void setReadOnly(boolean value)
Sets or sets read only status of the field.
value
- boolean valuepublic boolean getRequired()
Gets or sets required status of the field.
public void setRequired(boolean value)
Sets or sets read only status of the field.
value
- boolean valuepublic boolean getExportable()
Gets or sets exportable flag of the field.
public void setExportable(boolean value)
Sets or 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.Copyright © 2019 Aspose. All Rights Reserved.