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 BindableModel
A model that can have bindings applied to it.
-
Method Summary
Modifier 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.
-
Method Details
-
bind
Attach the binding to the model. Whenever the model is updated then the binding will be triggered. -
unbind
Removes the passed binding from this model. -
modelUpdated
Alert the bindings that the model has updated with the specified change types.- Parameters:
changed- list of change types to indicate
-