Class RadioFormFieldBuilder


public class RadioFormFieldBuilder extends TerminalFormFieldBuilder<RadioFormFieldBuilder>
Builder for radio form field.
  • Constructor Details

    • RadioFormFieldBuilder

      public RadioFormFieldBuilder (PdfDocument document, String radioGroupFormFieldName)
      Creates builder for radio form field creation.
      Parameters:
      document - document to be used for form field creation
      radioGroupFormFieldName - name of the form field
  • Method Details

    • createRadioGroup

      public PdfButtonFormField createRadioGroup()
      Creates radio group form field instance based on provided parameters.
      Returns:
      new PdfButtonFormField instance
    • createRadioButton

      public PdfFormAnnotation createRadioButton (String appearanceName, Rectangle rectangle)
      Creates radio button form field instance based on provided parameters.
      Parameters:
      appearanceName - name of the "on" appearance state.
      rectangle - the place where the widget should be placed.
      Returns:
      new radio button instance
    • getThis

      protected RadioFormFieldBuilder getThis()
      Returns this builder object. Required for superclass methods.
      Specified by:
      getThis in class FormFieldBuilder<RadioFormFieldBuilder>
      Returns:
      this builder