Package com.ironsoftware.ironpdf.form
Class FormField
- java.lang.Object
- 
- com.ironsoftware.ironpdf.form.FormField
 
- 
- Direct Known Subclasses:
- CheckBoxField,- ComboBoxField,- TextField
 
 public class FormField extends Object Generic base class from which all PDF Form fields are derived.
- 
- 
Constructor SummaryConstructors Constructor Description FormField(int annotationIndex, String name, int pageIndex, String type, double x, double y, double width, double height, String value, boolean readOnly)(INTERNAL) Please Get ComboBoxField fromFormFieldsSet.getUnknownFields()fromFormManager.getFields()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAnnotationIndex()Gets annotation index.doublegetHeight()Gets form field height.StringgetName()Gets the ID name of this field.intgetPageIndex()Gets page index.FormFieldTypesgetType()Gets form field types.StringgetValue()Gets the value of the editable PDF field.doublegetWidth()Gets form field width.doublegetX()Gets form field x position.doublegetY()Gets form field y position.booleanisReadOnly()Is read only boolean.
 
- 
- 
- 
Constructor Detail- 
FormFieldpublic FormField(int annotationIndex, String name, int pageIndex, String type, double x, double y, double width, double height, String value, boolean readOnly)(INTERNAL) Please Get ComboBoxField fromFormFieldsSet.getUnknownFields()fromFormManager.getFields()- Parameters:
- annotationIndex- the annotation index
- name- the name
- pageIndex- the page index
- type- the type
- x- the x
- y- the y
- width- the width
- height- the height
- value- the value
- readOnly- the read only
 
 
- 
 - 
Method Detail- 
getAnnotationIndexpublic final int getAnnotationIndex() Gets annotation index. Index of annotation associated with this form field- Returns:
- the annotation index
 
 - 
getNamepublic final String getName() Gets the ID name of this field.- Returns:
- the name
 
 - 
getPageIndexpublic final int getPageIndex() Gets page index. Page index which contains this form field- Returns:
- the page index
 
 - 
isReadOnlypublic final boolean isReadOnly() Is read only boolean. The permissions for users to fill-in current form field.- Returns:
- the boolean
 
 - 
getTypepublic final FormFieldTypes getType() Gets form field types.- Returns:
- the type
 
 - 
getValuepublic final String getValue() Gets the value of the editable PDF field.- Returns:
- the value
 
 - 
getWidthpublic final double getWidth() Gets form field width.- Returns:
- the width
 
 - 
getHeightpublic final double getHeight() Gets form field height.- Returns:
- the height
 
 - 
getXpublic final double getX() Gets form field x position.- Returns:
- the x
 
 - 
getYpublic final double getY() Gets form field y position.- Returns:
- the y
 
 
- 
 
-