public class NopBindableModel extends java.lang.Object implements BindableModel
BindableModel implementation which does nothing. Can be used as a superclass to
an immutable class that needs to implement BindableModel.| Constructor and Description |
|---|
NopBindableModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(Binding to)
Attach the binding to the model.
|
<T extends java.lang.Enum<T> & ModelUpdate> |
modelUpdated(T... changed)
Alert the bindings that the model has updated with the specified change types.
|
void |
unbind(Binding binding)
Removes the passed binding from this model.
|
public void bind(Binding to)
BindableModelbind in interface BindableModelpublic void unbind(Binding binding)
BindableModelunbind in interface BindableModelpublic <T extends java.lang.Enum<T> & ModelUpdate> void modelUpdated(T... changed)
BindableModelmodelUpdated in interface BindableModelchanged - list of change types to indicate