Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Scout/Concepts/LookupRow"
Dev.jmini.fr (Talk | contribs) |
m (Category changed) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{ScoutPage|cat= | + | {{ScoutPage|cat=Shared}} |
LookupRow is an entity keeping together some properties (key, text, color…) corresponding to one possible result for one {{ScoutLink|Concepts|LookupCall|LookupCall}}. | LookupRow is an entity keeping together some properties (key, text, color…) corresponding to one possible result for one {{ScoutLink|Concepts|LookupCall|LookupCall}}. | ||
Line 6: | Line 6: | ||
== Description == | == Description == | ||
− | + | A LookupCall is responsible to compute a set of LookupRows depending on an input. If many rows are returned by the LookupCall, a SmartField will display them. That way the user can choose one of them. | |
+ | [[Image:Schema_LookupRow.png]] | ||
− | == | + | ===Content of a LookupRow=== |
− | + | The Lookup Call contains: | |
− | + | * key | |
− | + | * text | |
+ | * iconId | ||
+ | * tooltip | ||
+ | * background color | ||
+ | * foreground color | ||
+ | * font | ||
+ | * enabled | ||
+ | * parentKey | ||
+ | * active | ||
+ | == Code example == | ||
+ | {{note|TODO|Different Constructors. Convience Method to create the lookup rows }} | ||
== See Also == | == See Also == |
Revision as of 12:19, 3 November 2011
The Scout documentation has been moved to https://eclipsescout.github.io/.
LookupRow is an entity keeping together some properties (key, text, color…) corresponding to one possible result for one The Scout documentation has been moved to https://eclipsescout.github.io/..
- Class: The Scout documentation has been moved to https://eclipsescout.github.io/.
Description
A LookupCall is responsible to compute a set of LookupRows depending on an input. If many rows are returned by the LookupCall, a SmartField will display them. That way the user can choose one of them.
Content of a LookupRow
The Lookup Call contains:
- key
- text
- iconId
- tooltip
- background color
- foreground color
- font
- enabled
- parentKey
- active
Code example
See Also
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.