
The Synclast UI API is an extensible toolkit for creating colorful custom user interfaces on MIDP devices in an intuitive yet efficient manner.
The Basics Made Beautiful
Built-in widgets let you build vibrant user interfaces with all the options you need for building write-once, run-anywhere applications. The UI engine has full color support, and a sophisticated and customizable StyleSheet mechanism lets you define style properties to classes of widgets. On the left is an example of a number of options for formatting the Label widget.
Containers and Layout
The API includes a number of containers that allow layout of user interface components with ease. These are the default Container, BoxContainer, which allows horizontal and vertical alignment of items, FlowContainer, which provides multiple rows or columns of objects, and TableContainer (shown on the left), which provides either fixed-size or dynamically sized tables and grids. For more custom layouts, write your own!
Sophisticated Forms
With built-in form components like Input, TapInput, Checkbox, RadioButton and more, it's easy to build sophisticated forms that are both highly functional and handsome.
Backgrounds and More
The standard LCDUI library is limited in its display due to a focus on lowest-common-denominator devices. Synclast lets you break out of this MIDP 1.0 paradigm. You can overlay widgets on all sorts of backgrounds, and most core widgets support using both tiled and centered background images, as well as borders and insets.
Mix and Match
The example on the left shows a custom widget that displays an animated raster as a background combined with the built-in Menu widget. Menu items can map to user keypresses, and like everything else in the Synclast UI, you can customize alignment, coloring, font face and style, and more.
|