public abstract class PDTerminalField extends PDField
| Modifier | Constructor and Description |
|---|---|
protected |
PDTerminalField(PDAcroForm acroForm)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addWidgetIfMissing(PDAnnotationWidget widget)
Adds the given widget as child of this fields, only if not already present
|
void |
applyChange()
Applies a value change to the field.
|
int |
getFieldFlags()
This will get the flags for this field.
|
String |
getFieldType()
Get the FT entry of the field.
|
List<PDAnnotationWidget> |
getWidgets()
Returns the widget annotations associated with this field.
|
boolean |
isTerminal() |
void |
setActions(PDFormFieldAdditionalActions actions)
Set the actions of the field.
|
void |
setWidgets(List<PDAnnotationWidget> children)
Sets the field's widget annotations.
|
getAcroForm, getActions, getAlternateFieldName, getFullyQualifiedName, getInheritableAttribute, getMappingName, getParent, getPartialName, getValueAsString, isNoExport, isReadonly, isRequired, setAlternateFieldName, setFieldFlags, setMappingName, setNoExport, setPartialName, setReadonly, setRequired, setValue, toStringequals, getCOSObject, hashCodeprotected PDTerminalField(PDAcroForm acroForm)
acroForm - The form that this field is part of.public void setActions(PDFormFieldAdditionalActions actions)
actions - The field actions.public int getFieldFlags()
PDFieldgetFieldFlags in class PDFieldpublic String getFieldType()
PDFieldgetFieldType in class PDFieldpublic List<PDAnnotationWidget> getWidgets()
getWidgets in class PDFieldpublic void addWidgetIfMissing(PDAnnotationWidget widget)
widget - public void setWidgets(List<PDAnnotationWidget> children)
children - The list of widget annotations.public final void applyChange()
throws IOException
IOException - if the appearance couldn't be generatedpublic boolean isTerminal()
isTerminal in class PDFieldCopyright © 2020 sejda. All rights reserved.