Difference between revisions of "Scout/Concepts/ListBox"
Dev.jmini.fr (Talk | contribs) (New page: {{ScoutPage|cat=Concepts}} {{ScoutLink|Concepts|ValueField|Value field}} to propose multiple choices. * implements: {{ScoutJavadoc|IListBox<T>|I}} * extends: {{ScoutJavadoc|AbstractListB...) |
m (Added detail to value description) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ScoutPage|cat= | + | {{ScoutPage|cat=Component Model}} |
− | {{ScoutLink|Concepts|ValueField|Value field}} to propose multiple choices. | + | {{ScoutLink|Concepts|ValueField|Value field}} to propose multiple choices. |
− | * implements: {{ScoutJavadoc|IListBox<T>|I}} | + | *implements: {{ScoutJavadoc|IListBox<T>|I}} |
− | * extends: {{ScoutJavadoc|AbstractListBox<T>|C}} | + | *extends: {{ScoutJavadoc|AbstractListBox<T>|C}} |
− | == Description == | + | == Description == |
− | + | ||
− | + | {{note|TODO|Add a description}} | |
− | + | ||
− | + | ||
+ | *Value is stored in a Array: <code>T[]</code><br>It cointains the keys, whose entries were checked by the user. If no entry was checked, the value will be null. | ||
− | + | *Like a {{ScoutLink|Concepts|SmartField|Smart field}} but for multiple Values. | |
− | + | *Use a {{ScoutLink|Concepts|CodeType|CodeType}} or a {{ScoutLink|Concepts|LookupCall|LookupCall}} | |
− | + | <br> | |
− | + | ||
− | + | == Screenshot == | |
+ | {| | ||
+ | |- | ||
+ | ! RAP | ||
+ | ! SWT | ||
+ | ! Swing | ||
+ | ! Swing Rayo | ||
+ | |- | ||
+ | | [[Image:Scout 3.8 ListBox RAP.png]] | ||
+ | | [[Image:Scout 3.8 ListBox SWT.png]] | ||
+ | | [[Image:Scout 3.8 ListBox Swing.png]] | ||
+ | | [[Image:Scout 3.8 ListBox Swing Rayo.png]] | ||
+ | |} | ||
− | == | + | == Properties == |
− | + | ||
− | + | ''Defined with {{ScoutLink|Concepts|GetConfigured Methods|getConfiguredXxxxxx()}} methods''. | |
+ | See also the {{ScoutLink|Concepts|Field|Field}} and the {{ScoutLink|Concepts|ValueField|Value field}} pages for the properties that all fields have in common. | ||
− | == See Also == | + | See also the {{ScoutLink|Concepts|TreeBox|TreeBox}} for the properties that ListBox has in common with TreeBox. |
− | * {{ScoutLink|Concepts|SmartField|Smart field}} | + | |
− | * {{ScoutLink|Concepts|ValueField|Value field}} | + | <br> |
− | * {{ScoutLink|Concepts|Field|Field}} | + | |
− | * {{ScoutLink|Concepts|Form|Form}} | + | == Events == |
+ | |||
+ | ''Defined with {{ScoutLink|Concepts|Exec_Methods|execXxxxxx()}} methods''. | ||
+ | |||
+ | See also the {{ScoutLink|Concepts|Field|Field}} and the {{ScoutLink|Concepts|ValueField|Value field}} pages for the events that all fields have in common. | ||
+ | |||
+ | See also the {{ScoutLink|Concepts|TreeBox|TreeBox}} for the events that ListBox has in common with TreeBox. | ||
+ | |||
+ | <br> | ||
+ | |||
+ | == See Also == | ||
+ | |||
+ | *{{ScoutLink|Concepts|SmartField|Smart field}} | ||
+ | *{{ScoutLink|Concepts|ValueField|Value field}} | ||
+ | *{{ScoutLink|Concepts|Field|Field}} | ||
+ | *{{ScoutLink|Concepts|Form|Form}} |
Latest revision as of 03:51, 7 March 2013
Scout |
Wiki Home |
Website |
Download • Git |
Community |
Forums • Blog • Twitter • G+ |
Bugzilla |
Bugzilla |
Value field to propose multiple choices.
Description
- Value is stored in a Array:
T[]
It cointains the keys, whose entries were checked by the user. If no entry was checked, the value will be null.
- Like a Smart field but for multiple Values.
- Use a CodeType or a LookupCall
Screenshot
RAP | SWT | Swing | Swing Rayo |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Properties
Defined with getConfiguredXxxxxx() methods.
See also the Field and the Value field pages for the properties that all fields have in common.
See also the TreeBox for the properties that ListBox has in common with TreeBox.
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 the TreeBox for the events that ListBox has in common with TreeBox.