COSObjectable
PDButton
, PDSignatureField
, PDVariableText
public abstract class PDTerminalField extends PDField
Modifier | Constructor | Description |
---|---|---|
protected |
PDTerminalField(PDAcroForm acroForm) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
applyChange() |
Applies a value change to the field.
|
int |
getFieldFlags() |
This will get the flags for this field.
|
java.lang.String |
getFieldType() |
Get the FT entry of the field.
|
PDAnnotationWidget |
getWidget() |
Deprecated.
Fields may have more than one widget, call
getWidgets() instead. |
java.util.List<PDAnnotationWidget> |
getWidgets() |
Returns the widget annotations associated with this field.
|
void |
importFDF(FDFField fdfField) |
|
void |
setActions(PDFormFieldAdditionalActions actions) |
Set the actions of the field.
|
void |
setWidgets(java.util.List<PDAnnotationWidget> children) |
Sets the field's widget annotations.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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 java.lang.String getFieldType()
PDField
getFieldType
in class PDField
public void importFDF(FDFField fdfField) throws java.io.IOException
java.io.IOException
public java.util.List<PDAnnotationWidget> getWidgets()
getWidgets
in class PDField
setWidgets()
with the modified
list.public void setWidgets(java.util.List<PDAnnotationWidget> children)
children
- The list of widget annotations.@Deprecated public PDAnnotationWidget getWidget()
getWidgets()
instead.protected final void applyChange() throws java.io.IOException
java.io.IOException
- if the appearance couldn't be generatedCopyright © 2002–2018. All rights reserved.