| Modifier and Type | Field and Description |
|---|---|
| public static final String | SUB_TYPE
The type of annotation. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PDAnnotationWidget(COSDictionary
the PDF object to represent as a field. field)Creates a PDWidget from a COSDictionary, expected to be a correct object definition for a field in PDF. |
| Modifier and Type | Method and Description |
|---|---|
| public PDAction | Returns: The action to be performed when this annotation is activated.Get the action to be performed when this annotation is to be activated. |
| public PDAnnotationAdditionalActions | |
| public PDAppearanceCharacteristicsDictionary | Returns: the appearance characteristics dictionaryReturns the appearance characteristics dictionary. |
| public PDBorderStyleDictionary | Returns: the border style dictionary.This will retrieve the border style dictionary, specifying the width and dash pattern used in drawing the line. |
| public String | |
| public void | |
| public void | |
| public void | setAppearanceCharacteristics(PDAppearanceCharacteristicsDictionary
the appearance characteristics dictionary appearanceCharacteristics)Sets the appearance characteristics dictionary. |
| public void | setBorderStyle(PDBorderStyleDictionary
the border style dictionary to set. bs)This will set the border style dictionary, specifying the width and dash pattern used in drawing the line. |
| public void | setHighlightingMode(String
the highlighting mode the defined values highlightingMode)Sets the highlighting mode. |
| public void |
| SUB_TYPE | back to summary |
|---|---|
| public static final String SUB_TYPE The type of annotation. | |
| PDAnnotationWidget | back to summary |
|---|---|
| public PDAnnotationWidget() Constructor. | |
| PDAnnotationWidget | back to summary |
|---|---|
| public PDAnnotationWidget(COSDictionary field) Creates a PDWidget from a COSDictionary, expected to be a correct object definition for a field in PDF.
| |
| getAction | back to summary |
|---|---|
| public PDAction getAction() Get the action to be performed when this annotation is to be activated.
| |
| getActions | back to summary |
|---|---|
| public PDAnnotationAdditionalActions getActions() Get the additional actions for this field. This will return null if there are no additional actions for this field. As of PDF 1.6 this is only used for Widget Annotations.
| |
| getAppearanceCharacteristics | back to summary |
|---|---|
| public PDAppearanceCharacteristicsDictionary getAppearanceCharacteristics() Returns the appearance characteristics dictionary.
| |
| getBorderStyle | back to summary |
|---|---|
| public PDBorderStyleDictionary getBorderStyle() This will retrieve the border style dictionary, specifying the width and dash pattern used in drawing the line.
| |
| getHighlightingMode | back to summary |
|---|---|
| public String getHighlightingMode() Returns the highlighting mode. Default value:
| |
| setAction | back to summary |
|---|---|
| public void setAction(PDAction action) Set the annotation action. As of PDF 1.6 this is only used for Widget Annotations
| |
| setActions | back to summary |
|---|---|
| public void setActions(PDAnnotationAdditionalActions actions) Set the actions of the field.
| |
| setAppearanceCharacteristics | back to summary |
|---|---|
| public void setAppearanceCharacteristics(PDAppearanceCharacteristicsDictionary appearanceCharacteristics) Sets the appearance characteristics dictionary.
| |
| setBorderStyle | back to summary |
|---|---|
| public void setBorderStyle(PDBorderStyleDictionary bs) This will set the border style dictionary, specifying the width and dash pattern used in drawing the line.
| |
| setHighlightingMode | back to summary |
|---|---|
| public void setHighlightingMode(String highlightingMode) Sets the highlighting mode.
| |
| setParent | back to summary |
|---|---|
| public void setParent(PDTerminalField field) Set the parent field of a widget annotation. This is only required if this widget annotation is one of multiple children in a field, and not to be set otherwise. You will usually not need this, because in most cases, fields have only one widget and share a common dictionary. A usage can be found in the CreateMultiWidgetsForm example.
| |