com.groupdocs.signature.domain.signatures.formfield

Class RadioButtonFormFieldSignature

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable


    public final class RadioButtonFormFieldSignature
    extends FormFieldSignature

    Contains radio-button input form field signature properties.

    • Constructor Detail

      • RadioButtonFormFieldSignature

        public RadioButtonFormFieldSignature(String name)

        Creates RadioButtonFieldSignature with predefined name.

        Parameters:
        name - Name of form field object.
      • RadioButtonFormFieldSignature

        public RadioButtonFormFieldSignature(String name,
                                     List<String> items)

        Creates RadioButtonFieldSignature with predefined name and items list.

        Parameters:
        name - Name of form field object.
        items - Values of radio-button list.
      • RadioButtonFormFieldSignature

        public RadioButtonFormFieldSignature(String name,
                                     List<String> items,
                                     Object selected)

        Creates RadioButtonFieldSignature with predefined name, items list and selected value.

        Parameters:
        name - Name of form field object.
        items - Values of radio-button list.
        selected - Selected value.
    • Method Detail

      • deepClone

        public Object deepClone()

        Clone FormField Signature instance.

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Overrides:
        deepClone in class FormFieldSignature
        Returns:
        Returns cloned FormField Signature instance.
      • equals

        public boolean equals(Object signature)

        Overwrites Equals method to compare signature properties

        Overrides:
        equals in class FormFieldSignature
        Parameters:
        signature - Signature object to compare with.
        Returns:
        Returns true if passed signature object has same type and all its properties are equal to this instance properties.
      • getItems

        public final List<String> getItems()

        Get or set Radio buttons options list.

      • getSelected

        public final String getSelected()

        Contains selected value.

      • hashCode

        public int hashCode()

        Overrides GetHashCode method

        Overrides:
        hashCode in class FormFieldSignature
        Returns:
        Signature hash code
      • setItems

        public final void setItems(List<String> value)

        Get or set Radio buttons options list.

      • setSelected

        public final void setSelected(String value)

        Contains selected value.