Package com.palantir.ptoss.cinch.core
Class Bindings
- java.lang.Object
-
- com.palantir.ptoss.cinch.core.Bindings
-
public class Bindings extends java.lang.Object
All
Binding
s are called whenModelUpdates.ALL
is called.If a
Bound
component has an "on" parameter then it will only be triggered if the specificModelUpdate
type is triggered.If a
Bound
component has no "on" parameter then it will be triggered by any update type (including none) triggered by itsBindableModel
.
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.collect.ImmutableList<BindingWiring>
STANDARD_BINDINGS
The list ofBindingWiring
classes that are standard to this framework.
-
Constructor Summary
Constructors Constructor Description Bindings()
Bindings(java.util.Collection<BindingWiring> wirings)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
STANDARD_BINDINGS
public static final com.google.common.collect.ImmutableList<BindingWiring> STANDARD_BINDINGS
The list ofBindingWiring
classes that are standard to this framework.
-
-
Constructor Detail
-
Bindings
public Bindings()
-
Bindings
public Bindings(java.util.Collection<BindingWiring> wirings)
-
-
Method Detail
-
standard
public static Bindings standard()
-
bind
public void bind(java.lang.Object object)
-
bindWithoutUpdate
public void bindWithoutUpdate(java.lang.Object object)
-
release
public void release(BindableModel model)
-
createBindings
protected java.util.List<Binding> createBindings(BindingContext context)
-
updateAll
public void updateAll()
-
-