Uses of Class
com.itextpdf.forms.fields.PdfChoiceFormField
Packages that use PdfChoiceFormField
-
Uses of PdfChoiceFormField in com.itextpdf.forms.fields
Methods in com.itextpdf.forms.fields that return PdfChoiceFormFieldModifier and TypeMethodDescriptionstatic PdfChoiceFormFieldPdfFormCreator.createChoiceFormField(PdfWidgetAnnotation widget, PdfDocument document) Creates a choice form field as a parent of aPdfWidgetAnnotationusing provided factory.static PdfChoiceFormFieldPdfFormCreator.createChoiceFormField(PdfDictionary dictionary) Creates a choice form field as a wrapper object around aPdfDictionaryusing provided factory.static PdfChoiceFormFieldPdfFormCreator.createChoiceFormField(PdfDocument document) Create a minimal, emptyPdfChoiceFormFieldusing provided factory.PdfFormFactory.createChoiceFormField(PdfWidgetAnnotation widget, PdfDocument document) Creates a choice form field as a parent of aPdfWidgetAnnotation.PdfFormFactory.createChoiceFormField(PdfDictionary dictionary) Creates a choice form field as a wrapper object around aPdfDictionary.PdfFormFactory.createChoiceFormField(PdfDocument document) Create a minimal, emptyPdfChoiceFormField.ChoiceFormFieldBuilder.createComboBox()Creates combobox form field base on provided parameters.ChoiceFormFieldBuilder.createList()Creates list form field based on provided parameters.PdfChoiceFormField.setCombo(boolean combo) If true, the field is a combo box; if false, the field is a list box.PdfChoiceFormField.setCommitOnSelChange(boolean commitOnSelChange) If true, the new value shall be committed as soon as a selection is made (commonly with the pointing device).PdfChoiceFormField.setEdit(boolean edit) If true, the combo box shall include an editable text box as well as a drop-down list; if false, it shall include only a drop-down list.PdfChoiceFormField.setIndices(PdfArray indices) Sets the selected items in the field.PdfChoiceFormField.setListSelected(int[] optionNumbers) Highlights the options.PdfChoiceFormField.setListSelected(String[] optionValues) Highlights the options.PdfChoiceFormField.setListSelected(String[] optionValues, boolean generateAppearance) Highlights the options and generates field appearance if needed.PdfChoiceFormField.setMultiSelect(boolean multiSelect) If true, more than one of the field's option items may be selected simultaneously; if false, at most one item shall be selected.PdfChoiceFormField.setSort(boolean sort) If true, the field's option items shall be sorted alphabetically.PdfChoiceFormField.setSpellCheck(boolean spellCheck) If true, text entered in the field shall be spell-checked.PdfChoiceFormField.setTopIndex(int index) Sets the index of the first visible option in a scrollable list.