Package com.snowtide.pdf.forms
Interface FormField
-
- All Known Subinterfaces:
AcroFormField
- All Known Implementing Classes:
AcroButtonField,AcroCheckboxField,AcroChoiceField,AcroRadioButtonGroupField,AcroSignatureField,AcroTextField
public interface FormFieldBase interface for objects representing fields within aForm.- Version:
- ©2004-2025 Snowtide
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Returns the canonical name of this field.StringgetUIName()Returns a user-friendly name for this field, typically used to identify the field to users or in extracts of form data.ObjectgetValue()Returns the current value of the field.
-
-
-
Method Detail
-
getName
String getName()
Returns the canonical name of this field. Only oneFormFieldinstance with a particular name should be available from aForminstance.
-
getUIName
String getUIName()
Returns a user-friendly name for this field, typically used to identify the field to users or in extracts of form data. This function may return null if a particular FormField does not specify a user-friendly name, or if a particular FormField implementation does not support the specification of a user-friendly name. In the latter case, the field's name is always available viagetName().
-
getValue
Object getValue()
Returns the current value of the field. The type of the return value is dependant upon the type of this field, but is almost always a String.
-
-