|
|
Line 1: |
Line 1: |
− | {{ScoutPage|cat=Component Model}}
| + | The Scout documentation has been moved to https://eclipsescout.github.io/. |
− | | + | |
− | Specific type of {{ScoutLink|Concepts|ValueField|value field}} very similar to a {{ScoutLink|Concepts|SmartField|smart field}} where the user can enter free text. The value type is <tt>String</tt>. The generic parameter <tt><T></tt> corresponds to the type of the {{ScoutLink|Concepts|CodeType}} or {{ScoutLink|Concepts|LookupCall}} key.
| + | |
− | | + | |
− | * implements: {{ScoutJavadoc|IProposalField<T>|I}}
| + | |
− | * extends: {{ScoutJavadoc|AbstractProposalField<T>|C}}
| + | |
− | | + | |
− | == Description ==
| + | |
− | {{important|Required version|The API described here requires version 4.0.0 or bigger.}}
| + | |
− | | + | |
− | This field is similar to a {{ScoutLink|Concepts|SmartField|smart field}}, but user can enter some texts that does not correspond to any proposition returned by a {{ScoutLink|Concepts|LookupCall}}.
| + | |
− | | + | |
− | It was indroduced to replace the {{ScoutProp|AllowCustomText}} property provided by the SmartField before Eclipse Scout Luna.
| + | |
− | | + | |
− | | + | |
− | == Screenshot ==
| + | |
− | When the user enter some text, like in a SmartField the propositions to this text are diplayed (like in a SmartField):
| + | |
− | | + | |
− | [[File:Scout_4.0_ProposalField2_SWT.png]]
| + | |
− | | + | |
− | If no entry correspond to the propositions, the Proposal Form disappear and the text user input is stored as value:
| + | |
− | | + | |
− | [[File:Scout_4.0_ProposalField_SWT.png]]
| + | |
− | | + | |
− | | + | |
− | == Properties ==
| + | |
− | ''Defined with {{ScoutLink|Concepts|GetConfigured Methods|getConfiguredXxxxxx()}} methods''.
| + | |
− | | + | |
− | | + | |
− | == Events ==
| + | |
− | ''Defined with {{ScoutLink|Concepts|Exec_Methods|execXxxxxx()}} methods''.
| + | |
− | | + | |
− | | + | |
− | == See Also ==
| + | |
− | * {{ScoutLink|Concepts|SmartField|Smart field}}
| + | |
− | * {{ScoutLink|Concepts|ValueField|Value field}}
| + | |
− | * {{ScoutLink|Concepts|Field|Field}}
| + | |
− | * {{ScoutLink|Concepts|Form|Form}}
| + | |
Latest revision as of 07:19, 18 March 2024
The Scout documentation has been moved to https://eclipsescout.github.io/.