PureMVC Framework for Haxe: API Documentation
Back | Index
class org.puremvc.haxe.patterns.mediator.Mediator
extends org.puremvc.haxe.patterns.observer.Notifier
implements org.puremvc.haxe.interfaces.IMediator
A base IMediator implementation.
function new(?mediatorName : String, ?viewComponent : Dynamic) : Void
Constructor.
function getMediatorName() : String
function getViewComponent() : Dynamic
function handleNotification(notification : org.puremvc.haxe.interfaces.INotification) : Void
function listNotificationInterests() : Array<String>
function onRegister() : Void
function onRemove() : Void
function setViewComponent(viewComponent : Dynamic) : Void
static var NAME : String

The name of the Mediator.

Typically, a Mediator will be written to serve one specific control or group controls and so, will not have a need to be dynamically named.

Back | Index