Package com.palantir.ptoss.cinch.core
Class Bindings
- java.lang.Object
-
- com.palantir.ptoss.cinch.core.Bindings
-
public class Bindings extends java.lang.ObjectAll
Bindings are called whenModelUpdates.ALLis called.If a
Boundcomponent has an "on" parameter then it will only be triggered if the specificModelUpdatetype is triggered.If a
Boundcomponent 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_BINDINGSThe list ofBindingWiringclasses 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 voidbind(java.lang.Object object)voidbindWithoutUpdate(java.lang.Object object)protected java.util.List<Binding>createBindings(BindingContext context)voidrelease(BindableModel model)static Bindingsstandard()voidupdateAll()
-
-
-
Field Detail
-
STANDARD_BINDINGS
public static final com.google.common.collect.ImmutableList<BindingWiring> STANDARD_BINDINGS
The list ofBindingWiringclasses 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()
-
-