ComboboxFormFieldSignature
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 ComboboxFormFieldSignature extends FormFieldSignature
Contains combo-box input form field signature properties.
| Constructor | Description |
|---|---|
| ComboboxFormFieldSignature(String name) | Creates ComboboxFormFieldSignature with predefined name. |
| ComboboxFormFieldSignature(String name, List |
Creates ComboboxFormFieldSignature with predefined name and options list. |
| ComboboxFormFieldSignature(String name, List |
Creates ComboboxFormFieldSignature with predefined name, options list and selected value. |
| Method | Description |
|---|---|
| getSelected() | Get or set selected value. |
| setSelected(String value) | Get or set selected value. |
| getItems() | Get or set combo-box options list. |
| setItems(List |
Get or set combo-box options list. |
| equals(Object signature) | Overwrites Equals method to compare signature properties |
| hashCode() | Overrides GetHashCode method |
| deepClone() | Clone FormField Signature instance. |
public ComboboxFormFieldSignature(String name)
Creates ComboboxFormFieldSignature with predefined name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | Name of form field object. |
public ComboboxFormFieldSignature(String name, List<String> items)
Creates ComboboxFormFieldSignature with predefined name and options list.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | Name of form field object. |
| items | java.util.List<java.lang.String> | Values of combo-box list. |
public ComboboxFormFieldSignature(String name, List<String> items, Object selected)
Creates ComboboxFormFieldSignature with predefined name, options list and selected value.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | Name of form field object. |
| items | java.util.List<java.lang.String> | Values of combo-box list. |
| selected | java.lang.Object | Selected value. |
public final String getSelected()
Get or set selected value.
Returns: java.lang.String
public final void setSelected(String value)
Get or set selected value.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final List<String> getItems()
Get or set combo-box options list.
Returns: java.util.List<java.lang.String>
public final void setItems(List<String> value)
Get or set combo-box options list.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.util.List<java.lang.String> |
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.