Blame | Last modification | View Log | RSS feed
package org.tela_botanica.del.client.utils;
/**
* {@code Observer} is the interface to be implemented by objects that receive
* notification of updates on an {@code Observable} object.
*
* @see GwtObservable
*/
public interface GwtObserver {
/**
* This method is called if the specified {@code Observable} object's
* {@code notifyObservers} method is called (because the {@code Observable}
* object has been updated.
*
* @param observable
* the {@link GwtObservable} object.
* @param data
* the data passed to
* {@link GwtObservable#notifyObservers(Object)}.
*/
void update(GwtObservable observable, Object data);
}