public interface Observable
An Observable is an object that may be observed by another object, the Observer. There may be a single observer only. If you need more, use a multiplexing observer.
If the observables state changes, it calls the
observers setObservableState()
method.
Modifier and Type | Method and Description |
---|---|
Observer |
getObserver()
Returns the Observer.
|
void |
setObserver(Observer pObserver)
Sets the Observer.
|