Package com.pspdfkit.forms
Class EditableButtonFormField
-
- All Implemented Interfaces:
public abstract class EditableButtonFormField extends ButtonFormField
Represents editable button field in a PDF form - i.e. checkbox or radio button.
-
-
Method Summary
Modifier and Type Method Description List<out EditableButtonFormElement>
getSelectedButtons()
Gets a list of form elements that are currently selected. boolean
setSelectedButtons(@NonNull() List<out EditableButtonFormElement> formElements)
Sets a list of form elements that should be selected. List<out EditableButtonFormElement>
getFormElements()
Retrieve list of form elements that represents this field visually. -
-
Method Detail
-
getSelectedButtons
@NonNull() List<out EditableButtonFormElement> getSelectedButtons()
Gets a list of form elements that are currently selected.
- Returns:
List of form elements representing buttons that are currently selected.
-
setSelectedButtons
boolean setSelectedButtons(@NonNull() List<out EditableButtonFormElement> formElements)
Sets a list of form elements that should be selected.
- Returns:
true
if button state was updated.
-
getFormElements
@NonNull() List<out EditableButtonFormElement> getFormElements()
Retrieve list of form elements that represents this field visually. Each FormElement can be part of a single field and each field can contain multiple form elements.
- Returns:
List of child form elements.
-
-
-
-