Packagejp.seagirl.genius.controllers
Classpublic class GeniusEventDispatcher

GeniusEventDispatcherはGeniusで扱うイベントを送出するクラスです。 (互換性のために残してある古いクラスです。)



Public Properties
 PropertyDefined by
  instance : GeniusEventDispatcher
[static][read-only] このクラスの唯一のインスタンスです。
GeniusEventDispatcher
Public Methods
 MethodDefined 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
Property detail
instanceproperty
instance:GeniusEventDispatcher  [read-only]

このクラスの唯一のインスタンスです。

Implementation
    public static function get instance():GeniusEventDispatcher
Constructor detail
GeniusEventDispatcher()constructor
public function GeniusEventDispatcher(target:IEventDispatcher = null)

コンストラクタ

Parameters
target:IEventDispatcher (default = null)
Method detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void

リスナーオブジェクトを登録するメソッド

Parameters
type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
useWeakReference:Boolean (default = false)
dispatchEvent()method 
public function dispatchEvent(event:GeniusEvent):Boolean

イベントをイベントフローに送出するメソッドです。

Parameters
event:GeniusEvent

Returns
Boolean
hasEventListener()method 
public function hasEventListener(type:String):Boolean

特定のイベントタイプに対して登録されたリスナーがあるかどうか確認するメソッドです。

Parameters
type:String

Returns
Boolean
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

リスナーオブジェクトを削除するメソッドです。

Parameters
type:String
 
listener:Function
 
useCapture:Boolean (default = false)
willTrigger()method 
public function willTrigger(type:String):Boolean

特定のイベントタイプに対して、このオブジェクトまたはその祖先に、 登録されたリスナーがあるかどうか確認するメソッドです。

Parameters
type:String

Returns
Boolean