Packageorg.servebox.foundry.observation
Interfacepublic interface IObservable
ImplementorsAbstractModel

The IObservable interface provides a standard protocol for a Model to notify a ViewHelper of changes.



Public Methods
 MethodDefined by
  
Notifies all observers that the model has changed.
IObservable
  
registerObserver(o:IObserver, notificationFilters:Array = null):void
Refisters an observer to the model.
IObservable
  
Unregisters an observer from the model.
IObservable
Method detail
notifyObservers()method
public function notifyObservers(n:Notification):void

Notifies all observers that the model has changed.

Parameters
n:Notification
registerObserver()method 
public function registerObserver(o:IObserver, notificationFilters:Array = null):void

Refisters an observer to the model.

Parameters
o: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):void

Unregisters an observer from the model.

Parameters
o:IObserver