Directory

← Back

Fluent API Add-on

Yet another Fluent API addon for Vaadin 8

Author

Rating

Popularity

<100

Uses approach without extending existing classes but by encapsulating those to outer classes.

As a result, the API looks a bit like Builder pattern.

Sample code

Fluent.vLayout().addAll(
    Fluent.label()
        .value("Styled label")
        .styles(ValoTheme.LABEL_HUGE)
        .get(),
    Fluent.textArea()
        .readOnly(true)
        .value("Some text")
        .get()
    ).get()
);

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Version 0.1

Covered: Covered:

  • Button
  • CheckBox
  • ComboBox
  • DateField, DateTimeField, InlineDateField, InlineDateTimeField
  • Label, Image, Link
  • Panel
  • HorizontalLayout, VerticalLayout
  • TextArea, TextField
Released
2017-09-12
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 8.1+
Browser
Browser Independent

Fluent API Add-on - Vaadin Add-on Directory

Yet another Fluent API addon for Vaadin 8 Fluent API Add-on - Vaadin Add-on Directory
Uses approach without extending existing classes but by encapsulating those to outer classes. As a result, the API looks a bit like [Builder](https://en.wikipedia.org/wiki/Builder_pattern) pattern.
Online