Constructor
# new ApplicationField(txApplicationField)
Wrapper für TXTextControl.ApplicationField
Parameters:
| Name | Type | Description |
|---|---|---|
txApplicationField |
*
|
Classes
Members
Methods
# async getParameters() → {Promise.<Array.<string>>}
Gets the field' parameters
Promise.<Array.<string>>
# async getStart() → {Promise.<number>}
Gets the first character position (one-based) of a text field
Promise.<number>
# async getText() → {Promise.<string>}
Gets the text which is contained within a text field
Promise.<string>
# async setName(name) → {Promise.<void>}
Sets the name of a text field
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string
|
Promise.<void>
# async setParameters(parameters) → {Promise.<void>}
Sets the field's parameters
Parameters:
| Name | Type | Description |
|---|---|---|
parameters |
Array.<string>
|
Promise.<void>
# async setParametersObj(parameters)
Sets the field's parameters
support are name, textbefore, textfollowing, dateFormat, numberFormat
Parameters:
| Name | Type | Description |
|---|---|---|
parameters |
TXTextControlTypeDefinition.ApplicationFieldParametersArgs
|
# async setText(text) → {Promise.<void>}
Sets the text which is contained within a text field
Parameters:
| Name | Type | Description |
|---|---|---|
text |
string
|
Promise.<void>