Packageorg.pranaframework.cairngorm
Classpublic class CommandProxy
InheritanceCommandProxy Inheritance flash.utils.Proxy
Implementscom.adobe.cairngorm.commands.ICommand, flash.events.IEventDispatcher



Public Methods
 MethodDefined by
  
CommandProxy(command:ICommand)
CommandProxy
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
CommandProxy
  
dispatchEvent(event:Event):Boolean
CommandProxy
  
execute(event:CairngormEvent):void
CommandProxy
  
hasEventListener(type:String):Boolean
CommandProxy
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
CommandProxy
  
willTrigger(type:String):Boolean
CommandProxy
Constructor detail
CommandProxy()constructor
public function CommandProxy(command:ICommand)Parameters
command:ICommand
Method detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):voidParameters
type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
useWeakReference:Boolean (default = false)
dispatchEvent()method 
public function dispatchEvent(event:Event):BooleanParameters
event:Event

Returns
Boolean
execute()method 
public function execute(event:CairngormEvent):voidParameters
event:CairngormEvent
hasEventListener()method 
public function hasEventListener(type:String):BooleanParameters
type:String

Returns
Boolean
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):voidParameters
type:String
 
listener:Function
 
useCapture:Boolean (default = false)
willTrigger()method 
public function willTrigger(type:String):BooleanParameters
type:String

Returns
Boolean