public abstract class PDTerminalField extends PDField
| Modifier | Constructor and Description |
|---|---|
protected |
PDTerminalField(PDAcroForm acroForm)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected 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.
|
PDAnnotationWidget |
getWidget()
Deprecated.
Fields may have more than one widget, call
getWidgets() instead. |
List<PDAnnotationWidget> |
getWidgets()
Returns the widget annotations associated with this field.
|
void |
importFDF(FDFField fdfField)
This will import a fdf field from a fdf document.
|
void |
setActions(PDFormFieldAdditionalActions actions)
Set the actions of the field.
|
void |
setWidgets(List<PDAnnotationWidget> children)
Sets the field's widget annotations.
|
getAcroForm, getActions, getAlternateFieldName, getCOSObject, getFullyQualifiedName, getInheritableAttribute, getMappingName, getParent, getPartialName, getValueAsString, isNoExport, isReadOnly, isRequired, setAlternateFieldName, setFieldFlags, setMappingName, setNoExport, setPartialName, setReadOnly, setRequired, setValue, toStringprotected 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 void importFDF(FDFField fdfField) throws IOException
PDFieldfdfField - The fdf field to import.IOException - If there is an error importing the data for this field.public List<PDAnnotationWidget> getWidgets()
getWidgets in class PDFieldpublic void setWidgets(List<PDAnnotationWidget> children)
children - The list of widget annotations.@Deprecated public PDAnnotationWidget getWidget()
getWidgets() instead.protected final void applyChange()
throws IOException
IOException - if the appearance couldn't be generatedCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.