public final class CheckboxFormFieldSignature extends FormFieldSignature
Contains check-box input form field signature properties.
Constructor and Description |
---|
CheckboxFormFieldSignature(String name)
Creates PdfCheckboxFormFieldSignature with predefined name.
|
CheckboxFormFieldSignature(String name,
boolean isChecked)
Creates PdfCheckboxFormFieldSignature with predefined name and value
|
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Clone FormField Signature instance.
|
boolean |
equals(Object signature)
Overwrites Equals method to compare signature properties
|
boolean |
getChecked()
Gets or sets checked value of form field check-box input.
|
int |
hashCode()
Overrides GetHashCode method
|
void |
setChecked(boolean value)
Gets or sets checked value of form field check-box input.
|
getName, getType, getValue, setName, setValue
getCreatedOn, getDeleted, getHeight, getLeft, getModifiedOn, getPageNumber, getSignatureId, getSignatureType, getTop, getWidth, isSignature, setCreatedOn, setHeight, setLeft, setModifiedOn, setPageNumber, setSignature, setTop, setWidth, supportMetaInfoLayer, toString
public CheckboxFormFieldSignature(String name)
Creates PdfCheckboxFormFieldSignature with predefined name.
name
- Name of form field object.public CheckboxFormFieldSignature(String name, boolean isChecked)
Creates PdfCheckboxFormFieldSignature with predefined name and value
name
- Name of form field object.isChecked
- Value if check box is checkedpublic Object deepClone()
Clone FormField Signature instance.
deepClone
in class FormFieldSignature
public boolean equals(Object signature)
Overwrites Equals method to compare signature properties
equals
in class FormFieldSignature
signature
- Signature object to compare with.public final boolean getChecked()
Gets or sets checked value of form field check-box input.
public int hashCode()
Overrides GetHashCode method
hashCode
in class FormFieldSignature
public final void setChecked(boolean value)
Gets or sets checked value of form field check-box input.