CheckboxFormFieldSignature
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.signature.domain.signatures.BaseSignature, com.groupdocs.signature.domain.signatures.formfield.FormFieldSignature
public final class CheckboxFormFieldSignature extends FormFieldSignature
Contains check-box input form field signature properties.
| Constructor | Description |
|---|---|
| CheckboxFormFieldSignature(String name) | Creates PdfCheckboxFormFieldSignature with predefined name. |
| CheckboxFormFieldSignature(String name, boolean isChecked) | Creates PdfCheckboxFormFieldSignature with predefined name and value |
| Method | Description |
|---|---|
| getChecked() | Gets or sets checked value of form field check-box input. |
| setChecked(boolean value) | Gets or sets checked value of form field check-box input. |
| equals(Object signature) | Overwrites Equals method to compare signature properties |
| hashCode() | Overrides GetHashCode method |
| deepClone() | Clone FormField Signature instance. |
public CheckboxFormFieldSignature(String name)
Creates PdfCheckboxFormFieldSignature with predefined name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | Name of form field object. |
public CheckboxFormFieldSignature(String name, boolean isChecked)
Creates PdfCheckboxFormFieldSignature with predefined name and value
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | Name of form field object. |
| isChecked | boolean | Value if check box is checked |
public final boolean getChecked()
Gets or sets checked value of form field check-box input.
Returns: boolean
public final void setChecked(boolean value)
Gets or sets checked value of form field check-box input.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
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.
public int hashCode()
Overrides GetHashCode method
Returns: int - Signature hash code
public Object deepClone()
Clone FormField Signature instance.
Returns: java.lang.Object - Returns cloned FormField Signature instance.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.