Difference between revisions of "Scout/Concepts/Field"
Dev.jmini.fr (Talk | contribs) (page stub) |
Dev.jmini.fr (Talk | contribs) |
||
Line 3: | Line 3: | ||
Field are elements in {{ScoutLink|Concepts|Form|Form}} | Field are elements in {{ScoutLink|Concepts|Form|Form}} | ||
− | * implements: {{ScoutJavadoc| | + | * implements: {{ScoutJavadoc|IFormField|I}} |
− | * extends: {{ScoutJavadoc| | + | * extends: {{ScoutJavadoc|AbstractFormField|C}} |
== Description == | == Description == | ||
{{note|TODO|Add a description}} | {{note|TODO|Add a description}} | ||
− | + | It is possible to distinguish different types of fields: | |
− | + | ||
− | * Container | + | ==={{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 15:22, 18 January 2011
Scout |
Wiki Home |
Website |
Download • Git |
Community |
Forums • Blog • Twitter • G+ |
Bugzilla |
Bugzilla |
Field are elements in Form
Contents
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 | ![]() |
DateField | ![]() |
DateField | ![]() |
DoubleField | ![]() |
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.
Events
Defined with execXxxxxx() methods.