Uses of Class
com.itextpdf.forms.fields.PdfChoiceFormField
-
Uses of PdfChoiceFormField in com.itextpdf.forms.fields
Modifier and TypeMethodDescriptionstatic PdfChoiceFormField
PdfFormField.createChoice
(PdfDocument doc, int flags) Creates an emptychoice form field
.static PdfChoiceFormField
PdfFormField.createChoice
(PdfDocument doc, int flags, PdfAConformanceLevel pdfAConformanceLevel) Creates an emptychoice form field
.static PdfChoiceFormField
PdfFormField.createChoice
(PdfDocument doc, Rectangle rect, int flags) Creates an emptychoice form field
with custom behavior and layout, on a specified location.static PdfChoiceFormField
PdfFormField.createChoice
(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize, PdfArray options, int flags) Creates achoice form field
with custom behavior and layout, on a specified location.static PdfChoiceFormField
PdfFormField.createChoice
(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize, PdfArray options, int flags, PdfAConformanceLevel pdfAConformanceLevel) Creates achoice form field
with custom behavior and layout, on a specified location.static PdfChoiceFormField
PdfFormField.createChoice
(PdfDocument doc, Rectangle rect, String name, String value, PdfArray options, int flags) Creates achoice form field
with custom behavior and layout, on a specified location.static PdfChoiceFormField
PdfFormField.createChoice
(PdfDocument doc, Rectangle rect, String name, String value, PdfArray options, int flags, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel) Creates achoice form field
with custom behavior and layout, on a specified location.static PdfChoiceFormField
PdfFormField.createComboBox
(PdfDocument doc, Rectangle rect, String name, String value, String[] options) Creates acombobox
with custom behavior and layout, on a specified location.static PdfChoiceFormField
PdfFormField.createComboBox
(PdfDocument doc, Rectangle rect, String name, String value, String[][] options) Creates acombobox
with custom behavior and layout, on a specified location.static PdfChoiceFormField
PdfFormField.createComboBox
(PdfDocument doc, Rectangle rect, String name, String value, String[][] options, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel) Creates acombobox
with custom behavior and layout, on a specified location.static PdfChoiceFormField
PdfFormField.createComboBox
(PdfDocument doc, Rectangle rect, String name, String value, String[] options, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel) Creates acombobox
with custom behavior and layout, on a specified location.static PdfChoiceFormField
PdfFormField.createList
(PdfDocument doc, Rectangle rect, String name, String value, String[] options) Creates alist field
with custom behavior and layout, on a specified location.static PdfChoiceFormField
PdfFormField.createList
(PdfDocument doc, Rectangle rect, String name, String value, String[][] options) Creates alist field
with custom behavior and layout, on a specified location.static PdfChoiceFormField
PdfFormField.createList
(PdfDocument doc, Rectangle rect, String name, String value, String[][] options, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel) Creates alist field
with custom behavior and layout, on a specified location.static PdfChoiceFormField
PdfFormField.createList
(PdfDocument doc, Rectangle rect, String name, String value, String[] options, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel) Creates alist field
with custom behavior and layout, on a specified location.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.