T
- the type which is observedpublic interface Observable<T>
Observer
s and notify them of changes by firing an Observable.Event
.Modifier and Type | Interface and Description |
---|---|
static class |
Observable.Event
|
Modifier and Type | Method and Description |
---|---|
boolean |
addObserver(Observer<? super T> observer)
Adds an
Observer . |
void |
notifyObservers(Observable.Event event)
Notifies the
Observer s. |
boolean |
removeObserver(Observer<? super T> observer)
Removes an
Observer . |
void notifyObservers(Observable.Event event)
Observer
s.event
- an Observable.Event
Copyright © 2011–2023 aiticon GmbH. All rights reserved.