IFeathersEventDispatcher

public interface
feathers.core.IFeathersEventDispatcher

Description

Public properties and functions from loom2d.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:
loom2d.events.EventDispatcher

API overview

Constructor

IFeathersEventDispatcher ()

Functions

Public functions

addEventListener ( type: String , listener: Function ): Void

See also:
loom2d.events.EventDispatcher#addEventListener()

dispatchEvent ( event: Event ): Void

See also:
loom2d.events.EventDispatcher#dispatchEvent()

dispatchEventWith ( type: String , bubbles: Boolean = false , data: Object = null ): Void

See also:
loom2d.events.EventDispatcher#dispatchEventWith()

hasEventListener ( type: String ): Boolean

See also:
loom2d.events.EventDispatcher#hasEventListener()

removeEventListener ( type: String , listener: Function ): Void

See also:
loom2d.events.EventDispatcher#removeEventListener()

removeEventListeners ( type: String = null ): Void

See also:
loom2d.events.EventDispatcher#removeEventListeners()

Constructor

IFeathersEventDispatcher ()

Functions

addEventListener ( type: String , listener: Function ): Void

See also:
loom2d.events.EventDispatcher#addEventListener()

Parameters

type: String
listener: Function


dispatchEvent ( event: Event ): Void

See also:
loom2d.events.EventDispatcher#dispatchEvent()

Parameters

event: Event


dispatchEventWith ( type: String , bubbles: Boolean = false , data: Object = null ): Void

See also:
loom2d.events.EventDispatcher#dispatchEventWith()

Parameters

type: String
bubbles: Boolean = false
data: Object = null


hasEventListener ( type: String ): Boolean

See also:
loom2d.events.EventDispatcher#hasEventListener()

Parameters

type: String


removeEventListener ( type: String , listener: Function ): Void

See also:
loom2d.events.EventDispatcher#removeEventListener()

Parameters

type: String
listener: Function


removeEventListeners ( type: String = null ): Void

See also:
loom2d.events.EventDispatcher#removeEventListeners()

Parameters

type: String = null