public class BaseObservable extends java.lang.Object implements Observable
Observable.OnPropertyChangedCallback
Constructor and Description |
---|
BaseObservable() |
Modifier and Type | Method and Description |
---|---|
void |
addOnPropertyChangedCallback(Observable.OnPropertyChangedCallback callback) |
void |
notifyChange()
Notifies listeners that all properties of this instance have changed.
|
void |
notifyPropertyChanged(int fieldId)
Notifies listeners that a specific property has changed..
|
void |
removeOnPropertyChangedCallback(Observable.OnPropertyChangedCallback callback) |
public void addOnPropertyChangedCallback(Observable.OnPropertyChangedCallback callback)
addOnPropertyChangedCallback
in interface Observable
public void removeOnPropertyChangedCallback(Observable.OnPropertyChangedCallback callback)
removeOnPropertyChangedCallback
in interface Observable
public void notifyChange()
public void notifyPropertyChanged(int fieldId)