Scout/Concepts/SmartField

From Eclipsepedia

Jump to: navigation, search

Scout
Wiki Home
Website
DownloadGit
Community
ForumsBlogTwitter
Bugzilla
Bugzilla


Specific type of value field to use a Smart association (with CodeType or LookupCall).

  • implements: Image:I_obj.pngISmartField<T>
  • extends: Image:C_obj.pngAbstractSmartField<T>

Contents

Description

A SmartField gives a selection of available values to the client. The field gets his contents from a CodeType or a LookupCall.

If the client doesn't write something into the SmartField, it will show all available values. (Lookup-Service Statement <all></all>)

If the client write text into the field, it will show all values, which starts with this text. (Lookup-Service Statement <text></text>)
Wildcards like *, % or _ are also possible to write into the SmartField.

The functions:

  • setValue(value)
  • getValue()

use the key of the CodeType or the LookupCall. (Lookup-Service Statement <key></key>)

Screenshot

Type RAP SWT Swing Swing Rayo
Without values Image:Scout_3.8_SmartField_all_RAP.png Image:Scout_3.8_SmartField_all_SWT.png Image:Scout_3.8_SmartField_all_Swing.png Image:Scout_3.8_SmartField_all_Swing_Rayo.png
With text Image:Scout_3.8_SmartField_text_RAP.png Image:Scout_3.8_SmartField_text_SWT.png Image:Scout_3.8_SmartField_text_Swing.png Image:Scout_3.8_SmartField_text_Swing_Rayo.png
With text and wildcard Image:Scout_3.8_SmartField_wildcard_RAP.png Image:Scout_3.8_SmartField_wildcard_SWT.png Image:Scout_3.8_SmartField_wildcard_Swing.png Image:Scout_3.8_SmartField_wildcard_Swing_Rayo.png

Properties

Defined with getConfiguredXxxxxx() methods.

See also the Field and the Value field pages for the properties that all fields have in common.

BrowseHierarchy: overwrites the property of IsHierarchy of the CodeType. If true the CodeType will be displayed as a tree, if false it will be displayed as a list.

Events

Defined with execXxxxxx() methods.

See also the Field and the Value field pages for the events that all fields have in common.


See Also