Jump to: navigation, search

Difference between revisions of "Scout/Concepts/Field"

(page stub)
 
Line 3: Line 3:
 
Field are elements in {{ScoutLink|Concepts|Form|Form}}  
 
Field are elements in {{ScoutLink|Concepts|Form|Form}}  
  
* implements: {{ScoutJavadoc|<TODO:NameOfTheInterface>|I}}
+
* implements: {{ScoutJavadoc|IFormField|I}}
* extends: {{ScoutJavadoc|<TODO:NameOfTheAbstractClass>|C}}
+
* extends: {{ScoutJavadoc|AbstractFormField|C}}
  
 
== Description ==
 
== Description ==
 
{{note|TODO|Add a description}}
 
{{note|TODO|Add a description}}
* {{ScoutLink|Concepts|ValueField|Value Fields}}: with specific implementation depending on the {{ScoutLink|Concepts|Type of Data|type of data}} ({{ScoutLink|Concepts|StringField|StringField}}, {{ScoutLink|Concepts|NumberField|NumberField}}, {{ScoutLink|Concepts|DateField|DateField}}, {{ScoutLink|Concepts|SmartField|SmartField}}, ...)
+
It is possible to distinguish different types of fields:
* Group field: to get (GroupBox, TabBox...)
+
 
* Container field: that contains an other Scout Element (TableField, PageField, FormField, ...){{ScoutLink|Concepts|ValueField|Value Fields}}
+
==={{ScoutLink|Concepts|ValueField|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
 +
! Preview
 +
|-
 +
| {{ScoutLink|Concepts|StringField|StringField}} || [[Image:Scout_StringField_SWT.png]]
 +
|-
 +
| {{ScoutLink|Concepts|DateField|DateField}} || [[Image:Scout_DateField_SWT.png]]
 +
|-
 +
| {{ScoutLink|Concepts|SmartField|DateField}} || [[Image:Scout_SmartField_SWT.png]]
 +
|-
 +
| {{ScoutLink|Concepts|DoubleField|DoubleField}} || [[Image:Scout_NumberField_SWT.png]]
 +
|-
 +
| {{ScoutLink|Concepts|BooleanField|BooleanField or checkbox}} || ...
 +
|-
 +
| See also the list of {{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...
 +
|-
 +
| ... || ...
 +
|-
 +
|}
 +
 
 +
===Other fields===
 +
* Container fields: They contain other Scout Element (TableField, PageField, FormField, ...)
 +
 
 +
TODO: also HTML field...
  
  

Revision as of 14:22, 18 January 2011


Scout
Wiki Home
Website
DownloadGit
Community
ForumsBlogTwitter
Bugzilla
Bugzilla


Field are elements in Form

  • implements: I obj.pngIFormField
  • extends: C obj.pngAbstractFormField

Description

Note.png
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 type of data:

Field Preview
StringField Scout StringField SWT.png
DateField Scout DateField SWT.png
DateField Scout SmartField SWT.png
DoubleField Scout NumberField SWT.png
BooleanField or checkbox ...
See also the list of value fields ...

Composite fields

To group other fields

Field Preview
GroupBox field ...TODO...
TabBox field ...TODO...
SequenceBox field ...TODO...
... ...

Other fields

  • Container fields: They contain other Scout Element (TableField, PageField, FormField, ...)

TODO: also HTML field...


Properties

Defined with getConfiguredXxxxxx() methods.

Note.png
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 execXxxxxx() methods.

Note.png
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