Packagecom.ericfeminella.blogs.events
Classpublic class BlogLinksEventManager
InheritanceBlogLinksEventManager Inheritance flash.events.EventDispatcher

Provides a single access point for all event handling within the MVC triad



Public Methods
 MethodDefined by
  
A call to the BlogLinksEventManager constructor should only be made via the static getInstance(); method.
BlogLinksEventManager
  
broadcastEvent(eventName:String, eventData:Object):void
BlogLinksEventManager
  
[static] Static method which manages removing BlogLinksEventManager singleton instance from memory.
BlogLinksEventManager
  
[static] Static method which manages instantiating singleton instance of BlogLinksEventManager.
BlogLinksEventManager
Constructor detail
BlogLinksEventManager()constructor
public function BlogLinksEventManager()

A call to the BlogLinksEventManager constructor should only be made via the static getInstance(); method.

Constructor checks to see if static member instance is null, if it is, then an instance is instantiated

Method detail
broadcastEvent()method
public function broadcastEvent(eventName:String, eventData:Object):voidParameters
eventName:String
 
eventData:Object
destroyInstance()method 
public static function destroyInstance():void

Static method which manages removing BlogLinksEventManager singleton instance from memory.

Sets BlogLinksEventManager instance to null, all references to BlogLinksEventManager.instance will be deleted

getInstance()method 
public static function getInstance():BlogLinksEventManager

Static method which manages instantiating singleton instance of BlogLinksEventManager.

Checks to see if an instance of BlogLinksEventManager has been instantiated. If so the instance will be returned, If not, a call to the constructor is made and an instance is then instantiated

Returns
BlogLinksEventManager — Singleton instance of BlogLinksEventManager