| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv | PDTerminalField(PDAcroForm
The form that this field is part of. acroForm, COSDictionary the PDF object to represent as a field. field, PDNonTerminalField the parent node of the node parent)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| protected final void | |
| pack-priv abstract void | constructAppearances()
Constructs appearance streams and appearance dictionaries for all widget annotations. |
| pack-priv FDFField | exportFDF()
Implements abstract org. Exports this field and its children as FDF. |
| public int | getFieldFlags()
Implements abstract org. This will get the flags for this field. |
| public String | getFieldType()
Implements abstract org. Get the FT entry of the field. |
| public List | Returns: The list of widget annotations. Be aware that this list is not backed by the actual widget collection of the field, so adding or deleting has no effect on the PDF document until you callsetWidgets() with the modified
list.Implements abstract org. Returns the widget annotations associated with this field. |
| public void | importFDF(FDFField
The fdf field to import. fdfField)Overrides org. This will import a fdf field from a fdf document. |
| public void | |
| public void | setWidgets(List<PDAnnotationWidget>
The list of widget annotations. children)Sets the field's widget annotations. |
| PDTerminalField | back to summary |
|---|---|
| protected PDTerminalField(PDAcroForm acroForm) Constructor.
| |
| PDTerminalField | back to summary |
|---|---|
| pack-priv PDTerminalField(PDAcroForm acroForm, COSDictionary field, PDNonTerminalField parent) Constructor.
| |
| applyChange | back to summary |
|---|---|
| protected final void applyChange() throws IOException Applies a value change to the field. Generates appearances if required and raises events.
| |
| constructAppearances | back to summary |
|---|---|
| pack-priv abstract void constructAppearances() throws IOException Constructs appearance streams and appearance dictionaries for all widget annotations.
Subclasses should not call this method directly but via
| |
| exportFDF | back to summary |
|---|---|
| pack-priv FDFField exportFDF() throws IOException Implements abstract org. Doc from org. Exports this field and its children as FDF.
| |
| getFieldFlags | back to summary |
|---|---|
| public int getFieldFlags() Implements abstract org. Doc from org. This will get the flags for this field.
| |
| getFieldType | back to summary |
|---|---|
| public String getFieldType() Implements abstract org. Doc from org. Get the FT entry of the field. This is a read only field and is set depending on the actual type. The field type is an inheritable attribute. | |
| getWidgets | back to summary |
|---|---|
| public List Implements abstract org. Returns the widget annotations associated with this field.
| |
| importFDF | back to summary |
|---|---|
| public void importFDF(FDFField fdfField) throws IOException Overrides org. Doc from org. This will import a fdf field from a fdf document.
| |
| setActions | back to summary |
|---|---|
| public void setActions(PDFormFieldAdditionalActions actions) Set the actions of the field.
| |
| setWidgets | back to summary |
|---|---|
| public void setWidgets(List<PDAnnotationWidget> children) Sets the field's widget annotations.
| |