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, toString
protected PDTerminalField(PDAcroForm acroForm)
acroForm
- The form that this field is part of.public void setActions(PDFormFieldAdditionalActions actions)
actions
- The field actions.public int getFieldFlags()
PDField
getFieldFlags
in class PDField
public String getFieldType()
PDField
getFieldType
in class PDField
public void importFDF(FDFField fdfField) throws IOException
PDField
fdfField
- The fdf field to import.IOException
- If there is an error importing the data for this field.public List<PDAnnotationWidget> getWidgets()
getWidgets
in class PDField
setWidgets()
with the modified
list.public 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–2018 The Apache Software Foundation. All rights reserved.