Package com.palantir.ptoss.cinch.core
Interface BindableModel
- 
- All Known Implementing Classes:
 AbstractScheduleModel,AlarmJournalTable,BasicScheduleModel,CompositeScheduleModel,DefaultBindableModel,EditingModel,HolidayModel,NopBindableModel,PasswordEditor.PasswordModel,RosterModel,ScheduleAdjustment,ScheduleModel,UserModel,WeakBindableModel,WeakBindableModelSupport
public interface BindableModelA model that can have bindings applied to it. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbind(Binding toBind)Attach the binding to the model.<T extends java.lang.Enum<T> & ModelUpdate>
voidmodelUpdated(T... changed)Alert the bindings that the model has updated with the specified change types.voidunbind(Binding toUnbind)Removes the passed binding from this model. 
 - 
 
- 
- 
Method Detail
- 
bind
void bind(Binding toBind)
Attach the binding to the model. Whenever the model is updated then the binding will be triggered. 
- 
unbind
void unbind(Binding toUnbind)
Removes the passed binding from this model. 
- 
modelUpdated
<T extends java.lang.Enum<T> & ModelUpdate> void modelUpdated(T... changed)
Alert the bindings that the model has updated with the specified change types.- Parameters:
 changed- list of change types to indicate
 
 - 
 
 -