com.groupdocs.signature.domain.signatures.formfield

Class CheckboxFormFieldSignature

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


    public final class CheckboxFormFieldSignature
    extends FormFieldSignature

    Contains check-box input form field signature properties.

    • Constructor Detail

      • CheckboxFormFieldSignature

        public CheckboxFormFieldSignature(String name)

        Creates PdfCheckboxFormFieldSignature with predefined name.

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

        public CheckboxFormFieldSignature(String name,
                                  boolean isChecked)

        Creates PdfCheckboxFormFieldSignature with predefined name and value

        Parameters:
        name - Name of form field object.
        isChecked - Value if check box is checked
    • 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.
      • getChecked

        public final boolean getChecked()

        Gets or sets checked value of form field check-box input.

      • hashCode

        public int hashCode()

        Overrides GetHashCode method

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

        public final void setChecked(boolean value)

        Gets or sets checked value of form field check-box input.