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/Type of Data"
Dev.jmini.fr (Talk | contribs) (New page: Scout contains several implementation of {{ScoutLink|Concepts|Field|fields}} and {{ScoutLink|Concepts|Column|columns}} to cover the most common types of data that are used in business appl...) |
Dev.jmini.fr (Talk | contribs) (→Boolean) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{ScoutPage|cat=Concepts}} | ||
+ | |||
Scout contains several implementation of {{ScoutLink|Concepts|Field|fields}} and {{ScoutLink|Concepts|Column|columns}} to cover the most common types of data that are used in business application. These implementations provide formatting and parsing mechanisms (taking care of the locale settings). In some cases a picker is also associated to the field to improve the user experience. | Scout contains several implementation of {{ScoutLink|Concepts|Field|fields}} and {{ScoutLink|Concepts|Column|columns}} to cover the most common types of data that are used in business application. These implementations provide formatting and parsing mechanisms (taking care of the locale settings). In some cases a picker is also associated to the field to improve the user experience. | ||
Line 24: | Line 26: | ||
===Time=== | ===Time=== | ||
+ | Time is store in a Java Date Object (Between 1970-01-01 00:00:00.000 and 1970-01-01 23:59:59.999). | ||
* {{ScoutLink|Concepts|TimeColumn|Time Column}} | * {{ScoutLink|Concepts|TimeColumn|Time Column}} | ||
* {{ScoutLink|Concepts|TimeField|Time Field}} | * {{ScoutLink|Concepts|TimeField|Time Field}} | ||
+ | |||
+ | The DateUtility class provides method to convert this value to a double in the interval [0.0, 1.0[ or to combine the time represented in the Date with a Date without any time. | ||
===Boolean=== | ===Boolean=== | ||
* {{ScoutLink|Concepts|BooleanColumn|Boolean Column}} | * {{ScoutLink|Concepts|BooleanColumn|Boolean Column}} | ||
− | * {{ScoutLink|Concepts| | + | * {{ScoutLink|Concepts|CheckboxField|Boolean Field}} also called {{ScoutLink|Concepts|CheckboxField|Checkbox Field}} |
===Smart<T>=== | ===Smart<T>=== |
Revision as of 05:15, 18 January 2011
The Scout documentation has been moved to https://eclipsescout.github.io/.
Scout contains several implementation of The Scout documentation has been moved to https://eclipsescout.github.io/. and The Scout documentation has been moved to https://eclipsescout.github.io/. to cover the most common types of data that are used in business application. These implementations provide formatting and parsing mechanisms (taking care of the locale settings). In some cases a picker is also associated to the field to improve the user experience.
For the developer of a scout application, this also enables to manipulate the value of the field with the corresponding Java Object (no need to cast and to parse the text input).
Contents
Types
Text
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
Integer
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
Long
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
Double
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
Date
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
Time
Time is store in a Java Date Object (Between 1970-01-01 00:00:00.000 and 1970-01-01 23:59:59.999).
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
The DateUtility class provides method to convert this value to a double in the interval [0.0, 1.0[ or to combine the time represented in the Date with a Date without any time.
Boolean
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/. also called The Scout documentation has been moved to https://eclipsescout.github.io/.
Smart<T>
This is not a Java Data type. Smart is a scout concept to designate a smart association realized with The Scout documentation has been moved to https://eclipsescout.github.io/. or The Scout documentation has been moved to https://eclipsescout.github.io/.. The Key of type T can be any Serializable java Object (Long
, String
, …). We speak from a Smart association, because there is more than just a text (display text) associated to the key (Icon, Color, TooltipText...)
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
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/.