TextFormFieldType
Overview
TextFormFieldType is an enum in Aspose.Words FOSS for Java.
Specifies the type of a text form field.
Edition status of its 11 listed members (a property and its accessor methods are listed separately, overloads once): 11 not yet exercised by a verified example.
This enum declares 4 methods for TextFormFieldType objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
REGULAR | The text form field can contain any text. |
NUMBER | The text form field can contain only numbers. |
DATE | The text form field can contain only a valid date value. |
CURRENT_DATE | The text form field value is the current date when the field is updated. |
CURRENT_TIME | The text form field value is the current time when the field is updated. |
CALCULATED | The text form field value is calculated from the expression specified in the FormField.getTextInputDefault() property. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of TextFormFieldType values. |
Methods
| Signature | Description |
|---|---|
getName(textFormFieldType: int) → String | Returns JAVA_STYLE string representation of integer TextFormFieldType value. |
toString(textFormFieldType: int) → String | Returns DotNetStyle string representation of integer TextFormFieldType value. |
fromName(textFormFieldTypeName: String) → int | Returns integer representation by TextFormFieldType name. |
getValues() → int[] | Returns array of TextFormFieldType values. |