| Package | org.pranaframework.cairngorm |
| Class | public class CommandProxy |
| Inheritance | CommandProxy flash.utils.Proxy |
| Implements | com.adobe.cairngorm.commands.ICommand, flash.events.IEventDispatcher |
| Method | Defined 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 | ||
| CommandProxy | () | constructor |
public function CommandProxy(command:ICommand)Parameters
command:ICommand |
| 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 |
Boolean |
| execute | () | method |
public function execute(event:CairngormEvent):voidParameters
event:CairngormEvent |
| hasEventListener | () | method |
public function hasEventListener(type:String):BooleanParameters
type:String |
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 |
Boolean |