Principle

The User Interface Extension features one of the fastest graphics engines, associated with a unique int-based event management system.

This chapter describes the UI3 notions, available since MicroEJ Architecture UI pack 13.0.0 and higher: MicroUI 3.0, Front Panel v6, Low Level APIs LLUI_xxx, etc.

The diagram below shows a simplified view of the components involved in the provisioning of User Interface Extension.

Overview

Overview

The modules responsible to manage the Display, the Input and the LED are respectively called Display module, Input module and LED module. These three Low Level parts connect MicroUI library to the user-supplied drivers code (coded in C). The drivers can use hardware accelerators like DMA and GPU to perform specific actions (buffers copy, drawings, etc.).

The MicroEJ Simulator provides all features of MicroUI library. The three modules are grouped together in a module called Front Panel. The Front Panel is supplied with a set of software widgets that generically support a range of input devices such as buttons, joysticks and touchscreens, and output devices such as displays and LEDs. With the help of the Front Panel Designer tool that forms part of the MicroEJ Workbench the user must define a Front Panel mock-up using these widgets.

The Display module also manages fonts and images. The fonts and images are pre-processed before compiling the MicroEJ application. The following diagram depicts the components involved in its design, along with the provided tools:

The User Interface Extension Components along with a Platform

The User Interface Extension Components along with a Platform