P - Property value typeT - Input value typeV - HasValue typeC - Component typepublic static interface Input.PropertyHandler<P,T,V extends com.vaadin.flow.component.HasValue<?,T>,C extends com.vaadin.flow.component.Component> extends BiFunction<V,C,P>, com.holonplatform.core.operation.TriConsumer<V,C,P>
HasValueInputBuilder| Modifier and Type | Method and Description |
|---|---|
static <P,T,V extends com.vaadin.flow.component.HasValue<?,T>,C extends com.vaadin.flow.component.Component> |
create(BiFunction<V,C,P> getter,
com.holonplatform.core.operation.TriConsumer<V,C,P> setter)
Create a new
Input.PropertyHandler using given getter to get the property value and given
setter to set the property value |
andThen, applystatic <P,T,V extends com.vaadin.flow.component.HasValue<?,T>,C extends com.vaadin.flow.component.Component> Input.PropertyHandler<P,T,V,C> create(BiFunction<V,C,P> getter, com.holonplatform.core.operation.TriConsumer<V,C,P> setter)
Input.PropertyHandler using given getter to get the property value and given
setter to set the property valueP - Property value typeT - Input value typeV - HasValue typeC - Component typegetter - A BiFunction to get the property value (not null)setter - A TriConsumer to set the property value (not null)Input.PropertyHandlerCopyright © 2019 The Holon Platform. All rights reserved.