Package com.palantir.ptoss.cinch.core
Class NopBindableModel
java.lang.Object
com.palantir.ptoss.cinch.core.NopBindableModel
- All Implemented Interfaces:
- BindableModel
A 
BindableModel implementation which does nothing. Can be used as a superclass to
 an immutable class that needs to implement BindableModel.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidAttach the binding to the model.<T extends Enum<T> & ModelUpdate>
 voidmodelUpdated(T... changed) Alert the bindings that the model has updated with the specified change types.voidRemoves the passed binding from this model.
- 
Constructor Details- 
NopBindableModelpublic NopBindableModel()
 
- 
- 
Method Details- 
bindDescription copied from interface:BindableModelAttach the binding to the model. Whenever the model is updated then the binding will be triggered.- Specified by:
- bindin interface- BindableModel
 
- 
unbindDescription copied from interface:BindableModelRemoves the passed binding from this model.- Specified by:
- unbindin interface- BindableModel
 
- 
modelUpdatedDescription copied from interface:BindableModelAlert the bindings that the model has updated with the specified change types.- Specified by:
- modelUpdatedin interface- BindableModel
- Parameters:
- changed- list of change types to indicate
 
 
-