One of OpenLegacy’s strongest features is the ability to work with strong type classes for screens, and within these classes, be able to work with standard data types.

OpenLegacy analyzer recognizes the following data types (according to analyzer rules) and converts them to Java types within the screens classes. These types are used by OpenLegacy MVC framework as well to generate a matching widget.

  • String (default)
  • Integer – for fields containing numeric values. Widget – spinner
  • Date – Using @ScreenDateField annotation. Widget – calendar
  • Enum (generated enum with the screen class) – Widget – combobox
  • List – Represent host table rows. Widget – table