Example usage for Java com.vaadin.data Binder fields, constructors, methods, implement or subclass
The text is from its open source code.
Binder() Creates a new binder without support for creating bindings based on property names. | |
Binder(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 Creates a new binder that uses reflection based on the provided bean type to resolve bean properties. |
Binding | bind(HasValue Binds the given field to the property with the given name. |
Binding | bind(HasValue Binds a field to a bean property represented by the given getter and setter pair. |
BindingBuilder | forField(HasValue Creates a new binding for the given field. |
BEAN | getBean() Returns the bean that has been bound with #bind , or null if a bean is not currently bound. |
BinderValidationStatus | validate() Validates the values of all bound fields and returns the validation status. |
void | writeBean(BEAN bean) Writes changes from the bound fields to the given bean if all validators (binding and bean level) pass. |
boolean | writeBeanIfValid(BEAN bean) Writes changes from the bound fields to the given bean if all validators (binding and bean level) pass. |