| Package | org.servebox.foundry.observation |
| Interface | public interface IObservable |
| Implementors | AbstractModel |
| Method | Defined by | ||
|---|---|---|---|
|
notifyObservers(n:Notification):void
Notifies all observers that the model has changed.
| IObservable | ||
|
registerObserver(o:IObserver, notificationFilters:Array = null):void
Refisters an observer to the model.
| IObservable | ||
|
unregisterObserver(o:IObserver):void
Unregisters an observer from the model.
| IObservable | ||
| notifyObservers | () | method |
public function notifyObservers(n:Notification):voidNotifies all observers that the model has changed.
Parametersn:Notification |
| registerObserver | () | method |
public function registerObserver(o:IObserver, notificationFilters:Array = null):voidRefisters an observer to the model.
Parameterso:IObserver — an array of Notification types, used to filter which notifications Observer instances should be notified of.
|
|
notificationFilters:Array (default = null) |
| unregisterObserver | () | method |
public function unregisterObserver(o:IObserver):voidUnregisters an observer from the model.
Parameterso:IObserver |