| Package | org.servebox.foundry.model |
| Class | public class AbstractModel |
| Inheritance | AbstractModel flash.events.EventDispatcher |
| Implements | IObservable |
| Subclasses | ACLManager, GlobalizationDictionary |
| Property | Defined by | ||
|---|---|---|---|
| logger : ILogger [static]
The class logger.
| AbstractModel | ||
| Method | Defined by | ||
|---|---|---|---|
|
notifyObservers(n:Notification):void
Notifies all observers that the model has changed.
| AbstractModel | ||
|
registerObserver(o:IObserver, notificationFilters:Array = null):void
Refisters an observer to the model.
| AbstractModel | ||
|
unregisterObserver(o:IObserver):void
Unregisters an observer from the model.
| AbstractModel | ||
| logger | property |
protected static var logger:ILoggerThe class logger.
| 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 |