| Package | org.restfulx.events |
| Class | public class CommandExecutionEvent |
| Inheritance | CommandExecutionEvent flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
| data : * command data
| CommandExecutionEvent | ||
| targetServiceId : int
Since we deal with many services commands may need to know which service
to delegate low-level behaviour to
| CommandExecutionEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
CommandExecutionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
| CommandExecutionEvent | ||
|
dispatch():Boolean
Dispatches current instance of the event using RxCommandsEventDispatcher.
| CommandExecutionEvent | ||
| data | property |
public var data:*command data
| targetServiceId | property |
public var targetServiceId:intSince we deal with many services commands may need to know which service to delegate low-level behaviour to
| CommandExecutionEvent | () | constructor |
public function CommandExecutionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)Parameters
type:String |
|
bubbles:Boolean (default = false) |
|
cancelable:Boolean (default = false) |
See also
| dispatch | () | method |
public function dispatch():BooleanDispatches current instance of the event using RxCommandsEventDispatcher. Event handlers are typically org.restfulx.controllers.ICommand#execute implementations.
ReturnsBoolean — boolean indicating if event was dispatched successfully
|