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, getTarget
bind, bind, bind, bind, bind, bind
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bindProperty
public 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)
PresentationModelBinder
Example: binder.bindBeanProperty("artist").to(artistField);
bindBeanProperty
in interface PresentationModelBinder
propertyName
- the name of the property
of the presentation model's beanCopyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.