BEAN - the type of the target beanFIELDVALUE - the field value type to be written to the bean@FunctionalInterface public interface Setter<BEAN,FIELDVALUE> extends BiConsumer<BEAN,FIELDVALUE>, Serializable
BiConsumer,
Binder#bind(HasValue, SerializableFunction, Setter)| Modifier and Type | Method and Description |
|---|---|
void |
accept(BEAN bean,
FIELDVALUE fieldvalue)
Save value to the bean property
|
andThenvoid accept(BEAN bean, FIELDVALUE fieldvalue)
accept in interface BiConsumer<BEAN,FIELDVALUE>bean - the target beanfieldvalue - the field value to be written to the beanCopyright © 2017 Vaadin Ltd. All rights reserved.