com.groupdocs.signature.domain.signatures.formfield

Class ComboboxFormFieldSignature

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


    public final class ComboboxFormFieldSignature
    extends FormFieldSignature

    Contains combo-box input form field signature properties.

    • Constructor Detail

      • ComboboxFormFieldSignature

        public ComboboxFormFieldSignature(String name)

        Creates ComboboxFormFieldSignature with predefined name.

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

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

        Creates ComboboxFormFieldSignature with predefined name and options list.

        Parameters:
        name - Name of form field object.
        items - Values of combo-box list.
      • ComboboxFormFieldSignature

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

        Creates ComboboxFormFieldSignature with predefined name, options list and selected value.

        Parameters:
        name - Name of form field object.
        items - Values of combo-box 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 combo-box options list.

      • getSelected

        public final String getSelected()

        Get or set 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 combo-box options list.

      • setSelected

        public final void setSelected(String value)

        Get or set selected value.