| Package | org.springextensions.actionscript.mvcs.command |
| Interface | public interface IAsyncCommand extends ICommand, flash.events.IEventDispatcher |
| Subinterfaces | ICompositeCommand |
| Implementors | AbstractAsyncCommand |
| Method | Defined by | ||
|---|---|---|---|
|
addFaultListener(listener:Function):void
Adds a listener for the "asyncCommandFault" event.
| IAsyncCommand | ||
|
addResultListener(listener:Function):void
Adds a listener for the "asyncCommandResult" event.
| IAsyncCommand | ||
|
dispatchFaultEvent(fault:Object, bubbles:Boolean = false, cancelable:Boolean = false):void
| IAsyncCommand | ||
|
dispatchResultEvent(result:Object, bubbles:Boolean = false, cancelable:Boolean = false):void
| IAsyncCommand | ||
![]() |
execute():void
Executes the command.
| ICommand | |
| addFaultListener | () | method |
public function addFaultListener(listener:Function):voidAdds a listener for the "asyncCommandFault" event.
Parameterslistener:Function |
| addResultListener | () | method |
public function addResultListener(listener:Function):voidAdds a listener for the "asyncCommandResult" event.
Parameterslistener:Function |
| dispatchFaultEvent | () | method |
public function dispatchFaultEvent(fault:Object, bubbles:Boolean = false, cancelable:Boolean = false):voidParameters
fault:Object |
|
bubbles:Boolean (default = false) |
|
cancelable:Boolean (default = false) |
| dispatchResultEvent | () | method |
public function dispatchResultEvent(result:Object, bubbles:Boolean = false, cancelable:Boolean = false):voidParameters
result:Object |
|
bubbles:Boolean (default = false) |
|
cancelable:Boolean (default = false) |