Packagecom.bourre.plugin
Classpublic class PluginBroadcaster
InheritancePluginBroadcaster Inheritance EventBroadcaster

Player version: Flash Player 9.0
Language version: ActionScript 3.0

The PluginBroadcaster class extends EventBroadcaster to add dedicated Plugin features.

Implements the firePlublicEvent() method to dispatch event to all plugin listeners.



Protected Properties
 PropertyDefined by
 Inherited_cType : Class
EventBroadcaster
 Inherited_mAll : Collection
EventBroadcaster
 Inherited_mDelegate : HashMap
EventBroadcaster
 Inherited_mEventListener : HashMap
EventBroadcaster
 Inherited_mType : HashMap
EventBroadcaster
 Inherited_oSource : Object
EventBroadcaster
Public Methods
 MethodDefined by
  
PluginBroadcaster(source:Object = null, type:Class = null)
Creates new PluginBroadcaster istance.
PluginBroadcaster
 Inherited
addEventListener(type:String, listener:Object, ... rest):Boolean
Adds an event listener for the specified event type.
EventBroadcaster
 Inherited
addListener(listener:Object):Boolean
Adds the passed-in listener as listener for all events dispatched by this event broadcaster.
EventBroadcaster
 Inherited
broadcastEvent(e:Event):void
Broadcast the passed-in event object to listeners according to the event's type.
EventBroadcaster
 Inherited
dispatchEvent(o:Object):void
Broadcast an event using an anonymous object.
EventBroadcaster
  
firePublicEvent(e:Event, owner:Plugin):void
Dispatched passed-in event to all passed-in plugin listeners.
PluginBroadcaster
 Inherited
[static] Returns a static instance of the class.
EventBroadcaster
 Inherited
getListenerCollection(type:String = null):Collection
Returns a Collection view of listeners for the passed-in event type.
EventBroadcaster
 Inherited
hasListenerCollection(type:String):Boolean
Returns true if this event broadcaster has listeners for the passed-in event type.
EventBroadcaster
 Inherited
isEmpty():Boolean
Returns true if this event broadcaster contains no listeners for any event.
EventBroadcaster
 Inherited
isRegistered(listener:Object, type:String = null):Boolean
Returns true if the passed-in listener object is registered as listener for the passed-in event type.
EventBroadcaster
 Inherited
Removes all listeners registered in this event broadcaster.
EventBroadcaster
 Inherited
removeEventListener(type:String, listener:Object):Boolean
Removes the passed-in listener for listening the specified event.
EventBroadcaster
 Inherited
removeListener(listener:Object):Boolean
Removes the passed-in listener object from this event broadcaster.
EventBroadcaster
 Inherited
removeListenerCollection(type:String):void
Removes the complete collection of listeners for a specified event type.
EventBroadcaster
 Inherited
setListenerType(type:Class):void
Defines the type of listeners this event broadcaster support.
EventBroadcaster
 Inherited
toString():String
Returns the String representation of this object.
EventBroadcaster
Protected Methods
 MethodDefined by
 Inherited
_broadcastEvent(c:Collection, e:Event):void
Broadcast the passed-in event to the listeners contained in the passed-in Collection.
EventBroadcaster
Constructor detail
PluginBroadcaster()constructor
public function PluginBroadcaster(source:Object = null, type:Class = null)

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Creates new PluginBroadcaster istance.

Parameters
source:Object (default = null)
 
type:Class (default = null)
Method detail
firePublicEvent()method
public function firePublicEvent(e:Event, owner:Plugin):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Dispatched passed-in event to all passed-in plugin listeners.

Parameters
e:Event — Event to dispatch
 
owner:Plugin — Plugin owner of this event