接口 Observer
public interface Observer
Obeserver.
- 作者:
- liaochuntao, xiweng.yy
-
方法概要
修饰符和类型方法说明voidupdate(Observable o)This method is called whenever the observed object is changed.
-
方法详细资料
-
update
This method is called whenever the observed object is changed. An application calls anObservableobject'snotifyObserversmethod to have all the object's observers notified of the change.- 参数:
o- the observable object.
-