接口 Observer
-
public interface ObserverObeserver.- 作者:
- liaochuntao, xiweng.yy
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidupdate(Observable o)This method is called whenever the observed object is changed.
-
-
-
方法详细资料
-
update
void update(Observable o)
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.
-
-