Packagesandy.events
Classpublic final class BubbleEventBroadcaster
InheritanceBubbleEventBroadcaster Inheritance EventBroadcaster

BubbleEventBroadcaster defines a custom event broadcaster to work with.



Public Properties
 PropertyDefined by
  parent : BubbleEventBroadcaster
The parent of this broadcaster.
BubbleEventBroadcaster
Public Methods
 MethodDefined by
  
Constructor.
BubbleEventBroadcaster
  
Starts receiving bubble events from specified child.
BubbleEventBroadcaster
 Inherited
addEventListener(type:String, listener:Object, ... rest):Boolean
Adds a listener to the event broadcaster.
EventBroadcaster
 Inherited
broadcastEvent(e:Event):void
Broadcasts an event.
EventBroadcaster
 Inherited
getListenerCollection(type:String = null):Dictionary
Returns listeners in the event broadcaster of the given type.
EventBroadcaster
 Inherited
hasListenerCollection(type:String):Boolean
Determines whether the event broadcaster has a certain type of event registered to it.
EventBroadcaster
 Inherited
isRegistered(listener:Object, type:String = null):Boolean
Determines whether a listener is registered to the event broadcaster.
EventBroadcaster
  
Stops receiving bubble events from specified child.
BubbleEventBroadcaster
 Inherited
removeEventListener(type:String, listener:Object):Boolean
Removes a listener from the event broadcaster.
EventBroadcaster
 Inherited
removeListenerCollection(type:String):void
Removes listeners from the event broadcaster of the given type.
EventBroadcaster
Property detail
parentproperty
parent:BubbleEventBroadcaster  [read-write]

The parent of this broadcaster.

Implementation
    public function get parent():BubbleEventBroadcaster
    public function set parent(value:BubbleEventBroadcaster):void
Constructor detail
BubbleEventBroadcaster()constructor
public function BubbleEventBroadcaster()

Constructor.

Method detail
addChild()method
public function addChild(child:BubbleEventBroadcaster):void

Starts receiving bubble events from specified child.

Parameters
child:BubbleEventBroadcaster — A BubbleEventBroadcaster instance that will send bubble events.
removeChild()method 
public function removeChild(child:BubbleEventBroadcaster):void

Stops receiving bubble events from specified child.

[ToDo: This method has very bad implementation and disabled for the moment. ]

Parameters
child:BubbleEventBroadcaster — A BubbleEventBroadcaster instance that will stop sending bubble events.