Package com.ironsoftware.ironpdf.form
Class ComboBoxField
- java.lang.Object
- 
- com.ironsoftware.ironpdf.form.FormField
- 
- com.ironsoftware.ironpdf.form.ComboBoxField
 
 
- 
 public class ComboBoxField extends FormField The type Combo box field.
- 
- 
Constructor SummaryConstructors Constructor Description ComboBoxField(int annotationIndex, String name, int pageIndex, double x, double y, double width, double height, String value, List<String> options, int selectedIndex, boolean readOnly)(INTERNAL) Please Get ComboBoxField fromFormFieldsSet.getComboBoxFields()fromFormManager.getFields()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getOptions()Gets options.intgetSelectedIndex()Gets The index of the selected option.- 
Methods inherited from class com.ironsoftware.ironpdf.form.FormFieldgetAnnotationIndex, getHeight, getName, getPageIndex, getType, getValue, getWidth, getX, getY, isReadOnly
 
- 
 
- 
- 
- 
Constructor Detail- 
ComboBoxFieldpublic ComboBoxField(int annotationIndex, String name, int pageIndex, double x, double y, double width, double height, String value, List<String> options, int selectedIndex, boolean readOnly)(INTERNAL) Please Get ComboBoxField fromFormFieldsSet.getComboBoxFields()fromFormManager.getFields()- Parameters:
- annotationIndex- the annotation index
- name- the name
- pageIndex- the page index
- x- the x
- y- the y
- width- the width
- height- the height
- value- the value
- options- the options
- selectedIndex- the selected index
- readOnly- the read only
 
 
- 
 - 
Method Detail- 
getOptionspublic final List<String> getOptions() Gets options. The available options for the combo-box in zero based index order.- Returns:
- the option names as strings.
 
 - 
getSelectedIndexpublic final int getSelectedIndex() Gets The index of the selected option.- Returns:
- the index of the selected. 0 based.
 
 
- 
 
-