public class

ListBoxFormConfiguration

extends FormElementConfiguration<T extends FormElement, K extends FormField>
java.lang.Object
   ↳ com.pspdfkit.forms.FormElementConfiguration<T extends com.pspdfkit.forms.FormElement, K extends com.pspdfkit.forms.FormField>
     ↳ com.pspdfkit.forms.ListBoxFormConfiguration

Class Overview

Configuration class of ListBoxFormElement for the creation of a ListBoxFormField using addFormElementToPage(String, T).

Summary

Nested Classes
class ListBoxFormConfiguration.Builder Builder used to construct ListBoxFormConfiguration instance. 
[Expand]
Inherited Fields
From class com.pspdfkit.forms.FormElementConfiguration
Public Methods
List<FormOption> getOptions()
Gets the list of options for the given choices of the form element.
List<Integer> getSelectedIndexes()
Gets the list of indexes with a selected option.
boolean isMultiSelectionEnabled()
Returns true when multi selection is enabled, false otherwise.
[Expand]
Inherited Methods
From class com.pspdfkit.forms.FormElementConfiguration
From class java.lang.Object

Public Methods

public List<FormOption> getOptions ()

Gets the list of options for the given choices of the form element. May return null.

Returns
  • List of options for the given choices of the form element.

public List<Integer> getSelectedIndexes ()

Gets the list of indexes with a selected option. May return null.

Returns
  • List of indexes with a selected option.

public boolean isMultiSelectionEnabled ()

Returns true when multi selection is enabled, false otherwise.

Returns
  • true when multi selection is enabled.