Class ChoiceFormElement

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • setSelectedIndexes

         void setSelectedIndexes(@NonNull() List<Integer> selectedIndexes)

        Sets selected options indexes.

        Parameters:
        selectedIndexes - List of selected options indexes.
      • setOptions

         void setOptions(@NonNull() List<FormOption> options)

        Sets the options for the given choice form element. This WILL change the options in the PDF file.

        Parameters:
        options - List of entries for form options.
      • isMultiSelectEnabled

         boolean isMultiSelectEnabled()

        Check whether more than one of the element's options may be selected simultaneously.

        Returns:

        true when multi selection is enabled for the element.

      • isCommitOnSelectionChangeEnabled

         boolean isCommitOnSelectionChangeEnabled()

        When set, don't wait for the focus to exit the control, but immediately commit actions.

        Returns:

        Whether to commit new value immediately after options has been selected.