public interface Observable
Observable
supports attaching Observer
instances for
listening to content changes.Observable
Modifier and Type | Method and Description |
---|---|
java.io.Closeable |
addObserver(Observer observer)
Register a new
Observer . |
java.io.Closeable addObserver(Observer observer)
Observer
. Clients need to call Closeable.close()
to stop getting notifications on the registered observer and to free up any resources
associated with the registration.Closeable
instance.Copyright © 2010 - 2020 Adobe. All Rights Reserved