View class

A PureMVC MultiCore IView implementation.

In PureMVC, IView implementors assume these responsibilities:

See IMediator, IObserver, INotification

Implemented types

Constructors

View(String key)
Constructor. [...]

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
mediatorMap Map<String, IMediator>
read / write
multitonKey String
read / write, override
observerMap Map<String, List<IObserver>>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

hasMediator(String mediatorName) bool
Check if an IMediator is registered with the IView. [...]
override
initializeView() → void
Initialize the Multiton View instance. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
notifyObservers(INotification note) → void
Notify the IObservers for a particular INotification. [...]
override
registerMediator(IMediator mediator) → void
Register an IMediator instance with the IView. [...]
override
registerObserver(String noteName, IObserver observer) → void
Register an IObserver to be notified of INotifications with a given name. [...]
override
removeMediator(String mediatorName) IMediator
Remove an IMediator from the IView. [...]
override
removeObserver(String noteName, Object notifyContext) → void
Remove an IObserver from the list for a given INotification name. [...]
override
retrieveMediator(String mediatorName) IMediator
Retrieve an IMediator from the IView. [...]
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Properties

instanceMap Map<String, IView>
read / write

Static Methods

getInstance(String key) IView
IView Multiton Factory method. [...]
removeView(String key) → void
Remove an IView Multiton instance. [...]