| java.lang.Object | |
| ↳ | com.pspdfkit.forms.FormElement |
Known Direct Subclasses
|
Known Indirect Subclasses
|
A visible form control. Every form element has a single parent FormField. Each form element is associated
with a single WidgetAnnotation that is a visual representation of the form element in the document.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | equals(Object o) | ||||||||||
| WidgetAnnotation |
getAnnotation()
Retrieve widget annotation for this form element.
| ||||||||||
| FormField |
getFormField()
Retrieve parent form field.
| ||||||||||
| String |
getFullyQualifiedName()
Returns the fully qualified name for the form element.
| ||||||||||
| String |
getName()
Returns the name for the form element.
| ||||||||||
| FormElement |
getNextElement()
Returns next form element in tab order.
| ||||||||||
| FormElement |
getPreviousElement()
Returns previous form element in tab order.
| ||||||||||
| abstract FormType |
getType()
Returns type of the form field.
| ||||||||||
| int | hashCode() | ||||||||||
| boolean |
isReadOnly()
If set, the user may not change the value of this form field.
| ||||||||||
| boolean |
isRequired()
If set, the field shall have a value at the time it is exported by a submit-form action.
| ||||||||||
| void |
setNextElement(FormElement nextElement)
Sets next element in form tab order, may be
null. | ||||||||||
| void |
setPreviousElement(FormElement prevElement)
Sets previous element in form tab order, may be
null. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Retrieve widget annotation for this form element.
Returns the fully qualified name for the form element.
Returns the name for the form element.
Returns next form element in tab order.
null if this element is the last element in tab order.
Returns previous form element in tab order.
null if this element is the first element in tab order.
Returns type of the form field.
If set, the user may not change the value of this form field. This flag is useful for fields whose values are computed or imported from a database.
true when field is read-only.
If set, the field shall have a value at the time it is exported by a submit-form action.
true when field is required.
Sets next element in form tab order, may be null.
| nextElement | next element in form tab order. |
|---|
Sets previous element in form tab order, may be null.
| prevElement | previous element in form tab order. |
|---|