public class BinderConfiguration extends Object
bindings
that connect properties of the model to UI elements of the view.ViewFactoryCreator
Modifier and Type | Class and Description |
---|---|
static class |
BinderConfiguration.Binding
A binding that provides the information needed to connect an element of the view to a property of the model.
|
Constructor and Description |
---|
BinderConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addBinding(BinderConfiguration.Binding binding)
Adds a new binding to this binding configuration.
|
BinderConfiguration.Binding |
getBinding(String name)
Gets the binding with the specified name, or returns null if no such binding is found.
|
Set |
getBindings()
Returns the set of bindings associated with this binding configuration.
|
public void addBinding(BinderConfiguration.Binding binding)
binding
- the bindingpublic Set getBindings()
public BinderConfiguration.Binding getBinding(String name)
name
- the name of the binding.