public interface PresentationModelBinder extends BeanBinder
Examples:
BeanPropertyBinder binder = Binders.binderFor(aBean); binder.bindBeanProperty("artist") .to(artistField); binder.bindBeanProperty("title") .to(titleField); binder.bindBeanProperty("classical").to(classicalBox); binder.bindProperty ("filtered") .to(filteredBox);
Modifier and Type | Method and Description |
---|---|
ValueModelBindingBuilder |
bindBeanProperty(String propertyName)
Creates and returns a binding builder that manages a ValueModel
that can be operated on and that can be bound to a component.
|
bindProperty
ValueModelBindingBuilder bindBeanProperty(String propertyName)
Example: binder.bindBeanProperty("artist").to(artistField);
propertyName
- the name of the property
of the presentation model's beanNullPointerException
- if propertyName
is null
Copyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.