public interface BeanBinder extends ObjectBinder
Examples:
BeanBinder binder = BasicBinders.binderFor(aBean);
binder.bindProperty("artist") .to(artistField);
binder.bindProperty("title") .to(titleField);
binder.bindProperty("classical").to(classicalBox);
| Modifier and Type | Method and Description |
|---|---|
ValueModelBindingBuilder |
bindProperty(String propertyName)
Looks up a ValueModel for the given (bean) property name.
|
ValueModelBindingBuilder bindProperty(String propertyName)
Examples:
binder.bindProperty("artist") .to(artistField);
binder.bindProperty(PROPERTY_ARTIST).to(artistField);
propertyName - the name of the bean property to be converted
to a ValueModelNullPointerException - if propertyName is nullCopyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.