java.lang.Object | ||
↳ | com.pspdfkit.forms.FormElementConfiguration.BaseBuilder<V extends com.pspdfkit.forms.FormElementConfiguration, B extends com.pspdfkit.forms.FormElementConfiguration.BaseBuilder<V, B>> | |
↳ | com.pspdfkit.forms.ListBoxFormConfiguration.Builder |
Builder used to construct ListBoxFormConfiguration
instance.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Builder(int pageIndex, RectF boundingBox)
Creates a new
ListBoxFormConfiguration builder. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ListBoxFormConfiguration |
build()
Creates a
ListBoxFormConfiguration with the arguments supplied to this builder. | ||||||||||
ListBoxFormConfiguration.Builder |
setFormOptions(List<FormOption> options)
Sets the list of options for the given choices of the form element.
| ||||||||||
ListBoxFormConfiguration.Builder |
setMultiSelectionEnabled(boolean enable)
Defines whether the multi selection should be enabled or not.
| ||||||||||
ListBoxFormConfiguration.Builder |
setSelectedIndexes(List<Integer> selectedIndexes)
Sets the list of indexes with a selected option.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ListBoxFormConfiguration.Builder |
getThis()
Returns correct type of this builder.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a new ListBoxFormConfiguration
builder.
pageIndex | Page index where the checkbox form element will be attached. |
---|---|
boundingBox | Annotation bounding box of the widget annotation representing the appearance of the checkbox form element. |
Creates a ListBoxFormConfiguration
with the arguments supplied to this builder.
Sets the list of options for the given choices of the form element.
options | List of options for the given choices of the form element. |
---|
Defines whether the multi selection should be enabled or not. Multi selection is disabled by default.
enable | true if multi selection should be enabled.
|
---|
Sets the list of indexes with a selected option.
selectedIndexes | List of indexes with a selected option. |
---|