PM - the type of the PresentationModelpublic class PresentationModelBinderImpl<PM extends IPresentationModel> extends BeanBinderImpl<PM> implements PresentationModelBinder
| Constructor and Description |
|---|
PresentationModelBinderImpl(PM model)
Constructs a PresentationModelBinder for the given PresentationModel.
|
| 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, getBeanAdapter, getTargetbind, bind, bind, bind, bind, bindclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbindPropertypublic PresentationModelBinderImpl(PM model)
model - used to look up model properties
via BeanBinderImpl.bindProperty(String) and bean properties
via bindBeanProperty(String)public ValueModelBindingBuilder bindBeanProperty(String propertyName)
PresentationModelBinderExample: binder.bindBeanProperty("artist").to(artistField);
bindBeanProperty in interface PresentationModelBinderpropertyName - the name of the property
of the presentation model's beanCopyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.