ch.sahits.util
Interface IObserver
public interface IObserver
An interface can implement the Observer interface when it wants to be
informed of changes in observable objects.
This class is the corresponding to java.util.Observer but works with
IObersvable.
- Author:
- Andi Hotz
|
Method Summary |
void |
update(IObersvable o,
java.lang.Object arg)
This method is called whenever the observed object is changed. |
update
void update(IObersvable o,
java.lang.Object arg)
- This method is called whenever the observed object is changed. An application
calls an
IObservable object's notifyObservers method to have all
the object's observers notified of the change.
- Parameters:
o - Object that is observedarg - argument that is passed