org.coffeecrew.mobile.oop.util
Interface Observer
- All Known Implementing Classes:
- BulkObjectPusher
public interface Observer
Interface that is implemented when a class wants to be informed of changes
in Observable objects.
- Since:
- 0.1
- See Also:
Observable
Method Summary |
void |
update(Observable observable,
java.lang.Object arg)
This method is called whenever the observable object changes, and has
called notifyObservers . |
update
void update(Observable observable,
java.lang.Object arg)
- This method is called whenever the observable object changes, and has
called
notifyObservers
. The Observable object can pass
arbitrary information in the second parameter.
- Parameters:
observable
- the Observable object that changedarg
- arbitrary information, usually relating to the change