Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Scout/Concepts/Field"

m (Value fields)
(Replaced content with "The Scout documentation has been moved to https://eclipsescout.github.io/.")
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ScoutPage|cat=Component Model}}
+
The Scout documentation has been moved to https://eclipsescout.github.io/.
 
+
Field are elements in {{ScoutLink|Concepts|Form|Form}}
+
 
+
* implements: {{ScoutJavadoc|IFormField|I}}
+
* extends: {{ScoutJavadoc|AbstractFormField|C}}
+
 
+
== Description ==
+
{{note|TODO|Add a description}}
+
It is possible to distinguish different types of fields:  
+
 
+
===Value fields===
+
These fiels contain a value. There are specific implementation depending on the {{ScoutLink|Concepts|Type of Data|type of data}}:
+
{|{{BMTableStyle}}
+
|-{{BMTHStyle}}
+
! Field
+
! RAP
+
! SWT
+
! Swing
+
! Swing Rayo
+
|-
+
| {{ScoutLink|Concepts|StringField|DateField}} || [[Image:Scout_3.8_DateField_RAP.png]] || [[Image:Scout_3.8_DateField_SWT.png]] || [[Image:Scout_3.8_DateField_Swing.png]] || [[Image:Scout_3.8_DateField_Swing_Rayo.png]]
+
|-
+
| {{ScoutLink|Concepts|DateField|StringField}} || [[Image:Scout_StringField_SWT.png]]
+
|-
+
| {{ScoutLink|Concepts|SmartField|SmartField}} || [[Image:Scout_SmartField_SWT.png]]
+
|-
+
| {{ScoutLink|Concepts|DoubleField|DoubleField}} || [[Image:Scout_NumberField_SWT.png]]
+
|-
+
| {{ScoutLink|Concepts|BooleanField|BooleanField or checkbox}} || [[Image:Scout_CheckboxField_SWT.png]]
+
|-
+
| colspan="2" align="center" | See also the main article on {{ScoutLink|Concepts|ValueField|value fields}}
+
|-
+
|}
+
 
+
===Composite fields===
+
To group other fields
+
{|{{BMTableStyle}}
+
|-{{BMTHStyle}}
+
! Field
+
! Preview
+
|-
+
| {{ScoutLink|Concepts|GroupBox|GroupBox field}} || ...TODO...
+
|-
+
| {{ScoutLink|Concepts|TabBox|TabBox field}} || ...TODO...
+
|-
+
| {{ScoutLink|Concepts|SequenceBox|SequenceBox field}} || ...TODO...
+
|-
+
| ... || ...
+
|-
+
| colspan="2" align="center" | See also the main article on {{ScoutLink|Concepts|CompositeField|composite field}}
+
|-
+
|}
+
 
+
===Other fields===
+
* Container fields: They contain other Scout Element ({{ScoutLink|Concepts|TableField|TableField}}, {{ScoutLink|Concepts|PageField|PageField}}, FormField, ...)
+
 
+
TODO: also HTML field...
+
 
+
== Properties ==
+
''Defined with {{ScoutLink|Concepts|GetConfigured Methods|getConfiguredXxxxxx()}} methods''.
+
 
+
{{note|TODO|Add a description of important properties. The idea is not to recreate the JavaDoc of the getConfiguredXxxxxx() methods but to provide explanations, best practice, example... Group the properties by domain.}}
+
 
+
 
+
== Events ==
+
''Defined with {{ScoutLink|Concepts|Exec_Methods|execXxxxxx()}} methods''.
+
 
+
{{note|TODO|Add a description of important events. The idea is not to recreate the JavaDoc of the execXxxxxx() methods but to provide explanations, best practice, example... Group the events by domain.}}
+
 
+
 
+
== See Also ==
+
* {{ScoutLink|Concepts|ValueField|Value Fields}}
+
* {{ScoutLink|Concepts|Form|Form}}
+

Latest revision as of 05:01, 14 March 2024

The Scout documentation has been moved to https://eclipsescout.github.io/.

Back to the top