Package | jp.seagirl.genius.controllers |
Class | public class GeniusEventDispatcher |
Property | Defined by | ||
---|---|---|---|
instance : GeniusEventDispatcher
[static][read-only]
このクラスの唯一のインスタンスです。
| GeniusEventDispatcher |
Method | Defined by | ||
---|---|---|---|
GeniusEventDispatcher(target:IEventDispatcher = null)
コンストラクタ
| GeniusEventDispatcher | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
リスナーオブジェクトを登録するメソッド
| GeniusEventDispatcher | ||
dispatchEvent(event:GeniusEvent):Boolean
イベントをイベントフローに送出するメソッドです。
| GeniusEventDispatcher | ||
hasEventListener(type:String):Boolean
特定のイベントタイプに対して登録されたリスナーがあるかどうか確認するメソッドです。
| GeniusEventDispatcher | ||
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
リスナーオブジェクトを削除するメソッドです。
| GeniusEventDispatcher | ||
willTrigger(type:String):Boolean
特定のイベントタイプに対して、このオブジェクトまたはその祖先に、
登録されたリスナーがあるかどうか確認するメソッドです。
| GeniusEventDispatcher |
instance | property |
instance:GeniusEventDispatcher
[read-only]このクラスの唯一のインスタンスです。
Implementation public static function get instance():GeniusEventDispatcher
GeniusEventDispatcher | () | constructor |
public function GeniusEventDispatcher(target:IEventDispatcher = null)
コンストラクタ
Parameterstarget:IEventDispatcher (default = null )
|
addEventListener | () | method |
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
リスナーオブジェクトを登録するメソッド
Parameterstype:String |
|
listener:Function |
|
useCapture:Boolean (default = false )
|
|
priority:int (default = 0 )
|
|
useWeakReference:Boolean (default = false )
|
dispatchEvent | () | method |
public function dispatchEvent(event:GeniusEvent):Boolean
イベントをイベントフローに送出するメソッドです。
Parametersevent:GeniusEvent |
Boolean |
hasEventListener | () | method |
public function hasEventListener(type:String):Boolean
特定のイベントタイプに対して登録されたリスナーがあるかどうか確認するメソッドです。
Parameterstype:String |
Boolean |
removeEventListener | () | method |
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
リスナーオブジェクトを削除するメソッドです。
Parameterstype:String |
|
listener:Function |
|
useCapture:Boolean (default = false )
|
willTrigger | () | method |
public function willTrigger(type:String):Boolean
特定のイベントタイプに対して、このオブジェクトまたはその祖先に、 登録されたリスナーがあるかどうか確認するメソッドです。
Parameterstype:String |
Boolean |