Java com.vaadin.data Binder fields, constructors, methods, implement or subclass

Example usage for Java com.vaadin.data Binder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.vaadin.data Binder.

The text is from its open source code.

Constructor

Binder()
Creates a new binder without support for creating bindings based on property names.
Binder(PropertySet propertySet)
Creates a binder using a custom PropertySet implementation for finding and resolving property names for #bindInstanceFields(Object) , #bind(HasValue,String) and BindingBuilder#bind(String) .
Binder(Class beanType)
Creates a new binder that uses reflection based on the provided bean type to resolve bean properties.

Method

Bindingbind(HasValue field, String propertyName)
Binds the given field to the property with the given name.
Bindingbind(HasValue field, ValueProvider getter, Setter setter)
Binds a field to a bean property represented by the given getter and setter pair.
BindingBuilderforField(HasValue field)
Creates a new binding for the given field.
BEANgetBean()
Returns the bean that has been bound with #bind , or null if a bean is not currently bound.
BinderValidationStatusvalidate()
Validates the values of all bound fields and returns the validation status.
voidwriteBean(BEAN bean)
Writes changes from the bound fields to the given bean if all validators (binding and bean level) pass.
booleanwriteBeanIfValid(BEAN bean)
Writes changes from the bound fields to the given bean if all validators (binding and bean level) pass.