Interface FieldBuilder<P>

  • Type Parameters:
    P - Value type of the property.
    All Superinterfaces:
    Serializable
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface FieldBuilder<P>
    extends Serializable
    Marker interface for SimplePropertyComponentBuilder for objects that build individual components.
    • Method Detail

      • buildPropertyField

        com.vaadin.flow.component.HasValue<?,​P> buildPropertyField​(Property<?,​P> property)
        Builds a field for a given property.
        Parameters:
        property - Property.
        Returns:
        A component capable of displaying the value of the property.