public class

CheckBoxFormField

extends EditableButtonFormField
java.lang.Object
   ↳ com.pspdfkit.forms.FormField
     ↳ com.pspdfkit.forms.ButtonFormField
       ↳ com.pspdfkit.forms.EditableButtonFormField
         ↳ com.pspdfkit.forms.CheckBoxFormField

Class Overview

One or more check boxes that can toggle between two states - on and off.

Summary

Public Methods
CheckBoxFormElement getFormElement()
Returns first form element.
List<? extends CheckBoxFormElement> getFormElements()
Retrieve list of form elements that represents this field visually.
List<? extends CheckBoxFormElement> getSelectedButtons()
Gets a list of form elements that are currently selected.
[Expand]
Inherited Methods
From class com.pspdfkit.forms.EditableButtonFormField
From class com.pspdfkit.forms.FormField
From class java.lang.Object

Public Methods

public CheckBoxFormElement getFormElement ()

Returns first form element.

public List<? extends CheckBoxFormElement> 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.

public List<? extends CheckBoxFormElement> getSelectedButtons ()

Gets a list of form elements that are currently selected.

Returns
  • List of form elements representing buttons that are currently selected.