|
|
(One intermediate revision by one other user not shown) |
Line 1: |
Line 1: |
− | {{ScoutPage|cat=Concepts}}
| + | The Scout documentation has been moved to https://eclipsescout.github.io/. |
− | | + | |
− | 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. | + | |
− | | + | |
− | 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).
| + | |
− | ==Types==
| + | |
− | ===Text===
| + | |
− | * {{ScoutLink|Concepts|StringColumn|String Column}}
| + | |
− | * {{ScoutLink|Concepts|StringField|String Field}}
| + | |
− | | + | |
− | ===Integer===
| + | |
− | * {{ScoutLink|Concepts|IntegerColumn|Integer Column}}
| + | |
− | * {{ScoutLink|Concepts|IntegerField|Integer Field}}
| + | |
− | | + | |
− | ===Long===
| + | |
− | * {{ScoutLink|Concepts|LongColumn|Long Column}}
| + | |
− | * {{ScoutLink|Concepts|LongField|Long Field}}
| + | |
− | | + | |
− | ===Double===
| + | |
− | * {{ScoutLink|Concepts|DoubleColumn|Double Column}}
| + | |
− | * {{ScoutLink|Concepts|DoubleField|Double Field}}
| + | |
− | | + | |
− | ===Date===
| + | |
− | * {{ScoutLink|Concepts|DateColumn|Date Column}}
| + | |
− | * {{ScoutLink|Concepts|DateField|Date Field}}
| + | |
− | | + | |
− | ===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|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===
| + | |
− | * {{ScoutLink|Concepts|BooleanColumn|Boolean Column}}
| + | |
− | * {{ScoutLink|Concepts|BooleanField|Boolean Field}}
| + | |
− | | + | |
− | ===Smart<T>===
| + | |
− | This is not a Java Data type. Smart is a scout concept to designate a smart association realized with {{ScoutLink|Concepts|CodeType|CodeType}} or {{ScoutLink|Concepts|LookupCall|LookupCall}}. The Key of type T can be any Serializable java Object (<code>Long</code>, <code>String</code>, …). We speak from a Smart association, because there is more than just a text (display text) associated to the key (Icon, Color, TooltipText...)
| + | |
− | * {{ScoutLink|Concepts|SmartColumn|Smart Column}}
| + | |
− | * {{ScoutLink|Concepts|SmartField|Smart Field}}
| + | |
− | | + | |
− | ==See also==
| + | |
− | * {{ScoutLink|Concepts|Field|Form Field}}
| + | |
− | * {{ScoutLink|Concepts|Column|Table Column}}
| + | |
− | * {{ScoutLink|Concepts|Client Plug-In|Client Plug-In}}
| + | |