Subversion Repositories eFlore/Applications.del

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
83 benjamin 1
package org.tela_botanica.del.client.utils;
2
 
3
/**
4
 * {@code Observer} is the interface to be implemented by objects that receive
5
 * notification of updates on an {@code Observable} object.
6
 *
7
 * @see GwtObservable
8
 */
9
public interface GwtObserver {
10
 
11
	/**
12
	 * This method is called if the specified {@code Observable} object's
13
	 * {@code notifyObservers} method is called (because the {@code Observable}
14
	 * object has been updated.
15
	 *
16
	 * @param observable
17
	 *            the {@link GwtObservable} object.
18
	 * @param data
19
	 *            the data passed to
20
	 *            {@link GwtObservable#notifyObservers(Object)}.
21
	 */
22
	void update(GwtObservable observable, Object data);
23
}