public final class Binders extends Object
Modifier and Type | Method and Description |
---|---|
static ObjectBinder |
binder()
Creates and returns a general binder for objects that can bind Actions,
ListModel + ListSelectionModel, ValueModels, and SelectionInLists.
|
static ActionBeanBinder |
binderFor(com.jgoodies.common.internal.IActionBean bean)
Deprecated.
Replaced by
Handlers.handlerFor(IActionBean)
from the JGoodies Sandbox. |
static ActionObjectBinder |
binderFor(com.jgoodies.common.internal.IActionObject object)
Deprecated.
Replaced by
Handlers.handlerFor(IActionObject)
from the JGoodies Sandbox. |
static ActionPresentationModelBinder |
binderFor(IActionPresentationModel<?> model)
Deprecated.
Replaced by
Handlers.handlerFor(IActionPresentationModel)
from the JGoodies Sandbox. |
static PresentationModelBinder |
binderFor(IPresentationModel<?> model)
Creates and returns a binder for presentation models that can bind
bean properties, (synthetic) properties of the presentation model,
as well as the object bindings: Actions, ListModel + ListSelectionModel,
ValueModels, and SelectionInLists.
|
static BeanBinder |
binderFor(Object bean)
Creates and returns a binder for beans that can bind bean
properties as well as the object bindings: Actions,
ListModel + ListSelectionModel, ValueModels, and SelectionInLists.
|
public static ObjectBinder binder()
@Deprecated public static ActionObjectBinder binderFor(com.jgoodies.common.internal.IActionObject object)
Handlers.handlerFor(IActionObject)
from the JGoodies Sandbox.binder()
.object
- provides Actions for Action namespublic static BeanBinder binderFor(Object bean)
The parameter type is Object, not ObservableBean or ObservableBean2,
because any Object may be a bean. If bean
is not a bean,
runtime exceptions will be thrown during the execution.
bean
- the bean used to bind bean properties@Deprecated public static ActionBeanBinder binderFor(com.jgoodies.common.internal.IActionBean bean)
Handlers.handlerFor(IActionBean)
from the JGoodies Sandbox.binderFor(Object)
.bean
- the bean used to bind bean properties and to look up Actionspublic static PresentationModelBinder binderFor(IPresentationModel<?> model)
model
- the presentation model that holds a bean (used to bind
bean properties) and that may provide its own synthetic properties@Deprecated public static ActionPresentationModelBinder binderFor(IActionPresentationModel<?> model)
Handlers.handlerFor(IActionPresentationModel)
from the JGoodies Sandbox.binderFor(IPresentationModel)
.model
- the presentation model that holds a bean (used to bind
bean properties), and that may provide its own synthetic properties,
and that provides Actions for Action namesCopyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.