| Package | sandy.events |
| Class | public final class BubbleEventBroadcaster |
| Inheritance | BubbleEventBroadcaster EventBroadcaster |
| Property | Defined by | ||
|---|---|---|---|
| parent : BubbleEventBroadcaster
The parent of this broadcaster.
| BubbleEventBroadcaster | ||
| Method | Defined by | ||
|---|---|---|---|
|
Constructor.
| BubbleEventBroadcaster | ||
|
addChild(child:BubbleEventBroadcaster):void
Starts receiving bubble events from specified child.
| BubbleEventBroadcaster | ||
![]() |
addEventListener(type:String, listener:Object, ... rest):Boolean
Adds a listener to the event broadcaster.
| EventBroadcaster | |
![]() |
broadcastEvent(e:Event):void
Broadcasts an event.
| EventBroadcaster | |
![]() |
getListenerCollection(type:String = null):Dictionary
Returns listeners in the event broadcaster of the given type.
| EventBroadcaster | |
![]() |
hasListenerCollection(type:String):Boolean
Determines whether the event broadcaster has a certain type of event registered to it.
| EventBroadcaster | |
![]() |
isRegistered(listener:Object, type:String = null):Boolean
Determines whether a listener is registered to the event broadcaster.
| EventBroadcaster | |
|
removeChild(child:BubbleEventBroadcaster):void
Stops receiving bubble events from specified child.
| BubbleEventBroadcaster | ||
![]() |
removeEventListener(type:String, listener:Object):Boolean
Removes a listener from the event broadcaster.
| EventBroadcaster | |
![]() |
removeListenerCollection(type:String):void
Removes listeners from the event broadcaster of the given type.
| EventBroadcaster | |
| parent | property |
parent:BubbleEventBroadcaster [read-write]The parent of this broadcaster.
Implementation public function get parent():BubbleEventBroadcaster
public function set parent(value:BubbleEventBroadcaster):void
| BubbleEventBroadcaster | () | constructor |
public function BubbleEventBroadcaster()Constructor.
| addChild | () | method |
public function addChild(child:BubbleEventBroadcaster):voidStarts receiving bubble events from specified child.
Parameterschild:BubbleEventBroadcaster — A BubbleEventBroadcaster instance that will send bubble events.
|
| removeChild | () | method |
public function removeChild(child:BubbleEventBroadcaster):voidStops receiving bubble events from specified child.
[ToDo: This method has very bad implementation and disabled for the moment. ]
Parameterschild:BubbleEventBroadcaster — A BubbleEventBroadcaster instance that will stop sending bubble events.
|