RapidPM Vaadin Fluent Component API | Vaadin

the missing Fluent API for Vaadin 10 Components

A Fluent API based on a Builder Pattern to make sure that the original classes are not touched. Usable for existing and new projects. Mixed mode with other init structures are possible.

the long version to read you can find here Tutorial

private final PasswordField password
    = new PasswordFieldBuilder(PasswordField::new)

If you have an instance already, you can use this one as well. Working with typed Composites will give you an already created instance of the type that is used inside the declaration. The demo app ist using a Composite<HorizontalLayout> as base. The method getContent() will give you exactly this instance. To configure the instance, use this on as input for the Builder.

public LoginView() {
  new HorizontalLayoutBuilder(ofNullable(getContent()))
      .ifPresent(l -> l.add(layout));

This Add on is under active development.

If you need some features, or more wrapped Components.... let me know

You can reach me under my email or via Twitter (@SvenRuppert)

Happy coding


Link to this version
StableReleased 16 April 2019Apache License 2.0
Framework Support
Vaadin platform 10+
Browser Independent
Install with
Release notes - Version 00.08.00-RPM

Fluent API for Flow

The description is available under https://vaadin.com/tutorials/flow-java-api-fluent

Available with complete method signatures

  • Vaadin Button
  • Vaadin Checkbox
  • Vaadin Ordered Layout - Horizontal / Vertical
  • Vaadin Text Field - Text / Password
  • Vaadin Combo Box
  • Vaadin Context Menu

Available via generic interfaces

  • Vaadin Accordion

  • Vaadin Date Picker

  • Vaadin Time Picker

  • Vaadin Details

  • Vaadin Dialog

  • Vaadin Select

  • Vaadin Form Layout

  • Vaadin Grid

  • Vaadin Icons

  • Vaadin Item

  • Vaadin List Box

  • Vaadin Notification

  • Vaadin Progress Bar

  • Vaadin Radio Button

  • Vaadin Split Layout

  • Vaadin Tabs

  • Vaadin Upload

  • Vaadin Custom Field

  • Vaadin App Layout

  • Vaadin Login

  • Vaadin Board

  • Vaadin Charts

  • Vaadin Confirm Dialog

  • Vaadin Cookie Consent

  • Vaadin Crud

  • Vaadin Grid Pro

  • Vaadin Rich Text Editor