| Package | com.ericfeminella.blogs.events |
| Class | public class BlogLinksEventManager |
| Inheritance | BlogLinksEventManager flash.events.EventDispatcher |
| Method | Defined by | ||
|---|---|---|---|
|
A call to the BlogLinksEventManager constructor should only be made via the static getInstance();
method.
| BlogLinksEventManager | ||
|
broadcastEvent(eventName:String, eventData:Object):void
| BlogLinksEventManager | ||
|
destroyInstance():void
[static]
Static method which manages removing BlogLinksEventManager singleton instance from memory.
| BlogLinksEventManager | ||
|
[static]
Static method which manages instantiating singleton instance of BlogLinksEventManager.
| BlogLinksEventManager | ||
| 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
| broadcastEvent | () | method |
public function broadcastEvent(eventName:String, eventData:Object):voidParameters
eventName:String |
|
eventData:Object |
| destroyInstance | () | method |
public static function destroyInstance():voidStatic 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():BlogLinksEventManagerStatic 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
ReturnsBlogLinksEventManager —
Singleton instance of BlogLinksEventManager
|