BubbleEventBroadcaster
| Kind of class: | class |
|---|---|
| Inherits from: | EventBroadcaster |
| Version: | 1.0 |
| Author: | Francis Bourre |
| Classpath: | com.bourre.events.BubbleEventBroadcaster |
| File last modified: | Wednesday, 31 October 2007, 07:35:29 |
BubbleEventBroadcasterTODO complete documentation (wait for a possible refactoring)
Summary
Constructor
Class properties
Class properties inherited from EventBroadcaster
Class methods
Class methods inherited from EventBroadcaster
Instance methods
Constructor
BubbleEventBroadcaster
function BubbleEventBroadcaster (
parent:BubbleEventBroadcaster)
Constructs a new
BubbleEventBroadcaster instance.Instance properties
parent
parent:BubbleEventBroadcaster
(read,write)
Instance methods
addChild
function addChild (
child:BubbleEventBroadcaster) : Void
Starts receiving bubble events from passed-in child.
Parameters:
child:
a BubbleEventBroadcaster instance that will send bubble events.
broadcastEvent
function broadcastEvent (
e:BubbleEvent) : Void
Broadcasts event to suscribed listeners if event propagation property is set
to
to
true.The event is bubbled to the parent if event bubble property is set
to true.
Parameters:
e:
an BubbleEvent instance to broadcast or bubble.
removeChild
function removeChild (
child:BubbleEventBroadcaster) : Void
Stops receiving bubble events from passed-in child.
Parameters:
child:
a BubbleEventBroadcaster instance that will stop
to send bubble events.
to send bubble events.
toString
function toString (
) : String
Returns the string representation of this instance.
Returns:
the string representation of this instance
Overrides: