UI Components

As already described in the section how to create a layout, UI components are not instantiated directly. Instead, they are declared via annotations on the PMO properties. When linkki is instructed to create a layout based on a PMO, the annotations are read and corresponding UI components are instantiated. The components are arranged using the defined position, while the layout is defined by the layout annotation.

linkki offers ready-to-use annotations for the most common UI components, which generate standard Vaadin elements or custom subclasses depending on the data type. These are prefixed with "@UI…​". These UI components can be divided in two groups: fields and buttons.

Additionally linkki allows the creation of tables.

Certain additional aspects of the binding, for example the tooltip of a component, are configured by extra annotations. These annotations are prefixed with "@Bind…​" like @BindTooltip.

Index

  1. Layout of Sections
  2. UI Element
  3. Tables
  4. Additional Binding