public class BinderConfiguration
extends java.lang.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(java.lang.String name)
Gets the binding with the specified name, or returns null if no such binding is found.
|
java.util.Set<BinderConfiguration.Binding> |
getBindings()
Returns the set of bindings associated with this binding configuration.
|
java.lang.String |
getConverterId(java.lang.String name)
Gets the converterId for the binding with the specified name.
|
public void addBinding(BinderConfiguration.Binding binding)
binding
- the bindingpublic java.util.Set<BinderConfiguration.Binding> getBindings()
public BinderConfiguration.Binding getBinding(java.lang.String name)
name
- the name of the binding.public java.lang.String getConverterId(java.lang.String name)
name
- the name of the binding.