Modifier and Type | Method and Description |
---|---|
Observer |
SimpleObservable.getObserver()
Returns the observer of this simple observable, if it is set.
|
Observer[] |
Observable.getObservers()
Gets all the observers of this observable.
|
Modifier and Type | Method and Description |
---|---|
void |
Observable.addObserver(Observer observer)
Adds an observer to the set of observers for this observable.
|
void |
Observable.deleteObserver(Observer observer)
Deletes an observer from the set of observers of this observable.
|
void |
SimpleObservable.setObserver(Observer observer)
Sets the observer of this simple observable.
|
void |
SimpleObservable.unsetObserver(Observer observer)
Unsets the observer of this simple observable if it the same instance as the given observer.
|