public class Bindings
extends java.lang.Object
All Binding
s are called when ModelUpdates.ALL
is called.
If a Bound
component has an "on" parameter then it will only be triggered if the
specific ModelUpdate
type is triggered.
If a Bound
component has no "on" parameter then it will be triggered by any update
type (including none) triggered by its BindableModel
.
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableList<BindingWiring> |
STANDARD_BINDINGS
The list of
BindingWiring classes that are standard to this framework. |
Constructor and Description |
---|
Bindings() |
Bindings(java.util.Collection<? extends BindingWiring> wirings) |
Modifier and Type | Method and Description |
---|---|
void |
bind(java.lang.Object object) |
void |
bindWithoutUpdate(java.lang.Object object) |
protected java.util.List<Binding> |
createBindings(BindingContext context) |
void |
release(BindableModel model) |
static Bindings |
standard() |
void |
updateAll() |
public static final com.google.common.collect.ImmutableList<BindingWiring> STANDARD_BINDINGS
BindingWiring
classes that are standard to this framework.public Bindings()
public Bindings(java.util.Collection<? extends BindingWiring> wirings)
public static Bindings standard()
public void bind(java.lang.Object object)
public void bindWithoutUpdate(java.lang.Object object)
public void release(BindableModel model)
protected java.util.List<Binding> createBindings(BindingContext context)
public void updateAll()