Interface PropertyComponentBuilder

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    SimplePropertyComponentBuilder
    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 PropertyComponentBuilder
    extends Serializable
    Builds a component that corresponds to a given object property.
    Since:
    2022-05-19
    Author:
    miki
    • Method Detail

      • buildPropertyField

        <P,​C extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,​P>> Optional<C> buildPropertyField​(Property<?,​P> property)
        Builds a component for a given property.
        Type Parameters:
        P - Type of the value of the property.
        C - Component to be returned.
        Parameters:
        property - Property to build a component for.
        Returns:
        A component capable of displaying the value of the given property, if any.