TextFormFieldSignature

Inheritance: java.lang.Object, com.groupdocs.signature.domain.signatures.BaseSignature, com.groupdocs.signature.domain.signatures.formfield.FormFieldSignature

public final class TextFormFieldSignature extends FormFieldSignature

Contains text input form field signature properties for Pdf Document

Constructors

Constructor Description
TextFormFieldSignature(String name) Creates PdfTextFormFieldSignature with predefined name.
TextFormFieldSignature(String name, String text) Creates PdfTextFormFieldSignature with predefined name.

Methods

Method Description
getText() Gets or sets text of form field text input.
setText(String value) Gets or sets text of form field text input.
equals(Object signature) Overwrites Equals method to compare signature properties
hashCode() Overrides GetHashCode method
deepClone() Clone FormField Signature instance.

TextFormFieldSignature(String name)

public TextFormFieldSignature(String name)

Creates PdfTextFormFieldSignature with predefined name.

Parameters:

Parameter Type Description
name java.lang.String Name of form field object.

TextFormFieldSignature(String name, String text)

public TextFormFieldSignature(String name, String text)

Creates PdfTextFormFieldSignature with predefined name.

Parameters:

Parameter Type Description
name java.lang.String Name of form field object.
text java.lang.String Text of form field object.

getText()

public final String getText()

Gets or sets text of form field text input.

Returns: java.lang.String

setText(String value)

public final void setText(String value)

Gets or sets text of form field text input.

Parameters:

Parameter Type Description
value java.lang.String

equals(Object signature)

public boolean equals(Object signature)

Overwrites Equals method to compare signature properties

Parameters:

Parameter Type Description
signature java.lang.Object Signature object to compare with.

Returns: boolean - Returns true if passed signature object has same type and all its properties are equal to this instance properties.

hashCode()

public int hashCode()

Overrides GetHashCode method

Returns: int - Signature hash code

deepClone()

public Object deepClone()

Clone FormField Signature instance.

Returns: java.lang.Object - Returns cloned FormField Signature instance.