Packageorg.robotlegs.core
Interfacepublic interface IMediator
Implementors MediatorBase

The Robotlegs Mediator contract



Public Methods
 MethodDefined By
  
The IMediator's view component
IMediator
  
onRegister():void
Should be invoked by the IMediator itself when it is ready to be interacted with Override and place your initialization code here
IMediator
  
onRemove():void
Should be invoked by the IMediator itself when it is ready to for cleanup Override and place your cleanup code here
IMediator
  
Should be invoked by the IMediatorMap during IMediator registration
IMediator
  
preRemove():void
Invoked when the IMediator has been removed by the IMediatorMap
IMediator
  
setViewComponent(viewComponent:Object):void
The IMediator's view component
IMediator
Method Detail
getViewComponent()method
public function getViewComponent():Object

The IMediator's view component

Returns
Object — The view component
onRegister()method 
public function onRegister():void

Should be invoked by the IMediator itself when it is ready to be interacted with

Override and place your initialization code here

onRemove()method 
public function onRemove():void

Should be invoked by the IMediator itself when it is ready to for cleanup

Override and place your cleanup code here

preRegister()method 
public function preRegister():void

Should be invoked by the IMediatorMap during IMediator registration

preRemove()method 
public function preRemove():void

Invoked when the IMediator has been removed by the IMediatorMap

setViewComponent()method 
public function setViewComponent(viewComponent:Object):void

The IMediator's view component

Parameters

viewComponent:Object — view component