PDF4Java Reference Documentation
com.o2sol.pdf4java.forms Package / PDFListField Class
Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members
Include Protected Members
In This Topic

PDFListField Class Methods
In This Topic

For a list of all members of this type, see PDFListField members.

Public Methods

| Name | Description
--- | --- | ---
| addItem | Adds a list item to the field.
| addWidget | Adds the widget to the collection of field's widgets. A widget is the visual representation of a form field on a PF page. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| createAppearance | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getAlternateName | Gets the field alternate name. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getCalculateAction | Gets the calculate action. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getCosField | Gets the underlying COS Object. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getCosTopParent | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getDefaultValue | Gets the field default value. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getFlags | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getForm | Gets the Acrobat form this field belongs to. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getFormatAction | Gets the format action. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getItem | Gets the item at the specified index.
| getItems | Gets the items in the list.
| getKeyPressAction | Gets the keypress action. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getMappingName | Gets the field mapping name. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getName | Gets the field name. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getSelectedIndex | Gets the lowest ordinal index of the selected items in the list. Use this property to determine the index of the currently selected item in the list if the list control allows only one selection.
| getSelectedIndexes | Gets the index of the selected items in the list. Use this property to determine the indexes of the currently selected items in the list if the list control allows multiple selection.
| getSelectedItem | Gets the first selected item in the list.
| getTextDirection | Gets the text direction. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getType | Gets the field type. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getValidateAction | Gets the validate action. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getValue | Gets the field value. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getWidget | Gets the field widget at the specified index. A widget is the visual representation of a form field on a PF page. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getWidgets | Gets the list of field widgets. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| isCommittedOnSelectionChange | Gets a value indicating whether the new value shall be committed as soon as a selection is made.
| isExportable | Gets a value indicating whether the field can be exported or not. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| isReadOnly | Gets a value indicating whether the field is read-only. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| isRequired | Gets a value indicating whether the field is required. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| isSorted | Gets a value indicating whether the field's option items shall be sorted alphabetically.
| setAlternateName | Sets the field alternate name. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| setCalculateAction | Sets the calculate action. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| setCosTopParent | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| setDefaultValue | Sets the field default value. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| setFlags | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| setFormatAction | Sets the format action. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| setIsCommittedOnSelectionChange | Sets a value indicating whether the new value shall be committed as soon as a selection is made. This option enables applications to perform an action once a selection is made, without requiring the user to exit the field. If clear, the new value is not committed until the user exits the field.
| setIsExportable | Sets a value indicating whether the field can be exported or not. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| setIsReadOnly | Sets a value indicating whether the field is read-only. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| setIsRequired | Sets a value indicating whether the field is required. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| setIsSorter | Sets a value indicating whether the field's option items shall be sorted alphabetically.
| setKeyPressAction | Sets the keypress action. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| setMappingName | Sets the field mapping name. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| setName | Sets the field name. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| setSelectedIndex | Sets the lowest ordinal index of the selected items in the list. Use this property to determine the index of the currently selected item in the list if the list control allows only one selection.
| setSelectedIndexes | Sets the index of the selected items in the list. Use this property to determine the indexes of the currently selected items in the list if the list control allows multiple selection.
| setSelectedItem | Sets the first selected item in the list.
| setTextDirection | Sets the text direction. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| setValidateAction | Sets the validate action. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| setValue | Sets the field value. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| toString | (Inherited from com.o2sol.pdf4java.forms.PDFField)
| updateFromFDFField | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| updateFromXFDFField | This method supports the internal library infrastructure and should not be used by external client code.
| updateFromXMLField | This method supports the internal library infrastructure and should not be used by external client code.

Top
Protected Methods

| Name | Description
--- | --- | ---
| getFieldDefaultValue | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| getFieldValue | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| setFieldDefaultValue | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.forms.PDFField)
| setFieldValue | This method supports the internal library infrastructure and should not be used by external client code.

Top
See Also

#### Reference

PDFListField Class
com.o2sol.pdf4java.forms Package

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.