GODPAPER | All Packages | All Classes | Index | Frames No Frames |
IFeathersEventDispatcher

Package | feathers.core
Interface | public interface IFeathersEventDispatcher

Public properties and functions from `starling.events.EventDispatcher` in helpful interface form.

Never cast an object to this type. Cast to `EventDispatcher` instead. This interface exists only to support easier code hinting.

See also

starling.events.EventDispatcher

Public Methods

| Method | Defined By
--- | --- | ---
|  | addEventListener(type:String, listener:Function):void | IFeathersEventDispatcher
|  | dispatchEvent(event:Event):void | IFeathersEventDispatcher
|  | dispatchEventWith(type:String, bubbles:Boolean = false, data:Object = null):void | IFeathersEventDispatcher
|  | hasEventListener(type:String):Boolean | IFeathersEventDispatcher
|  | removeEventListener(type:String, listener:Function):void | IFeathersEventDispatcher
|  | removeEventListeners(type:String = null):void | IFeathersEventDispatcher

Method Detail

addEventListener | () | method

`public function addEventListener(type:String, listener:Function):void`

Parameters

| `type:String`
| `listener:Function`

See also

starling.events.EventDispatcher.addEventListener()

dispatchEvent | () | method |

`public function dispatchEvent(event:Event):void`

Parameters

| `event:Event`

See also

starling.events.EventDispatcher.dispatchEvent()

dispatchEventWith | () | method |

`public function dispatchEventWith(type:String, bubbles:Boolean = false, data:Object = null):void`

Parameters

| `type:String`
| `bubbles:Boolean` (default = `false`)``
| `data:Object` (default = `null`)``

See also

starling.events.EventDispatcher.dispatchEventWith()

hasEventListener | () | method |

`public function hasEventListener(type:String):Boolean`

Parameters

| `type:String`

Returns

| `Boolean`

See also

starling.events.EventDispatcher.hasEventListener()

removeEventListener | () | method |

`public function removeEventListener(type:String, listener:Function):void`

Parameters

| `type:String`
| `listener:Function`

See also

starling.events.EventDispatcher.removeEventListener()

removeEventListeners | () | method |

`public function removeEventListeners(type:String = null):void`

Parameters

| `type:String` (default = `null`)``

See also

starling.events.EventDispatcher.removeEventListeners()

Thu Jan 16 2014, 01:11 PM +08:00