public static final class ListSingleFormField.Builder extends AbstractSingleStringValueFormField.Builder<ListSingleFormField,ListSingleFormField.Builder> implements FormFieldWithOptions.Builder<ListSingleFormField.Builder>
rawValue| Modifier and Type | Method and Description |
|---|---|
ListSingleFormField.Builder |
addOption(FormField.Option option)
Adds an available options to the question that the user has in order to answer
the question.
|
ListSingleFormField |
build() |
ListSingleFormField.Builder |
getThis() |
addValue, resetInternal, setValue, setValue, setValue, setValue, setValue, setValueaddFormFieldChildElement, addFormFieldChildElements, getType, reset, setDescription, setLabel, setRequired, setRequiredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddOptionpublic ListSingleFormField.Builder addOption(FormField.Option option)
FormFieldWithOptions.BuilderaddOption in interface FormFieldWithOptions.Builder<ListSingleFormField.Builder>option - a new available option for the question.public ListSingleFormField build()
build in class FormField.Builder<ListSingleFormField,ListSingleFormField.Builder>public ListSingleFormField.Builder getThis()
getThis in class FormField.Builder<ListSingleFormField,ListSingleFormField.Builder>