Fluent API for Vaadin

Hi all,

I just release the first version of
fluent API for Vaadin 8
.

Now you can code any component as a one liner quick and clean with the new fluent components without loosing any functionality.

Ex: new FTextField().withCaption(“test”).withRequiredIndicatorVisible(true).withWidth(“100px”).withPlaceholder(“enter text”);

Each fluent class implements a fluent interface which adds the fluent methods. Therefore, it’s easy to add fluent functionality to an existing component : just implement the right interface.

Lets say you have a custom ComboBox doing fancy stuff in your project and you want to add fluent way to code it. Implement the FluentComboBox interface.

Ex : public class MyComboBox extends ComboBox implements FluentComboBox<MyComboBox, T> {…}

A dozen components area already available for fluent coding and I’m currently working on the others for a new release soon.

Version 1.1 is coming with new fluent components :

FButton
FNativeButton
FNativeSelect
FRadionButtonGroup
FLabel
FLink
FCheckBox
FTabSheet

Awesome add-on!

Thx! I just release version 1.2 with new fluent components.

FMenuBar
FProgressBar
FPopupView
FHorizontalSplitPanel
FVerticalSplitPanel
FSlider
FRichTextArea
FDateField
FInlineDateField
FDateTimeField

Final version 1.3 is available with all fluent components.