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

Scout/Concepts/Type of Data

< Scout‎ | Concepts
Revision as of 19:08, 17 January 2011 by Dev.jmini.fr (Talk | contribs) (Time)

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).

Types

Text

Integer

Long

Double

Date

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 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

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...)

See also

Back to the top