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)
BindableModel
bind
in interface BindableModel
public void unbind(Binding binding)
BindableModel
unbind
in interface BindableModel
public <T extends java.lang.Enum<T> & ModelUpdate> void modelUpdated(T... changed)
BindableModel
modelUpdated
in interface BindableModel
changed
- list of change types to indicate