API Documentation | All Packages | All Classes | Index | Frames No Frames |
AsyncResponseEvent

Package | org.flexunit.events
Class | public class AsyncResponseEvent
Inheritance | AsyncResponseEvent flash.events.Event

An AsyncResponseEvent is event that is fired when an asynchronous test has recieved a response from an `IAsyncTestTresponder`.

Public Properties

| Property | Defined By
--- | --- | ---
|  | data : Object | AsyncResponseEvent
|  | methodHandler : Function | AsyncResponseEvent
|  | originalResponder : * | AsyncResponseEvent
|  | RESPONDER_FIRED : String = responderFired [static] | AsyncResponseEvent
|  | status : String | AsyncResponseEvent

Public Methods

| Method | Defined By
--- | --- | ---
|  | AsyncResponseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, originalResponder:* = null, status:String = null, data:Object = null) Constructor. | AsyncResponseEvent
|  | clone():Event [override] Called by the framework to facilitate any requisite event bubbling | AsyncResponseEvent

Property Detail

data | property

`public var data:Object`

methodHandler | property |

`public var methodHandler:Function`

originalResponder | property |

`public var originalResponder:*`

RESPONDER_FIRED | property |

`public static var RESPONDER_FIRED:String = responderFired`

status | property |

`public var status:String`

Constructor Detail

AsyncResponseEvent | () | Constructor

`public function AsyncResponseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, originalResponder:* = null, status:String = null, data:Object = null)`

Constructor. This class has all of the properties of the event class in addition to the originalResponder, status, and data properties.

Parameters

| `type:String` — The event type; indicates the action that triggered the event.
| `bubbles:Boolean` (default = `false`)`` — Specifies whether the event can bubble up the display list hierarchy.
| `cancelable:Boolean` (default = `false`)`` — Specifies whether the behavior associated with the event can be prevented.
| `originalResponder:*` (default = `null`)`` — The responder that originally responded to the async event.
| `status:String` (default = `null`)`` — The status of the asyncronous response.
| `data:Object` (default = `null`)`` — The data that was returned from the async event, usually the data or the info from the fault.

Method Detail

clone | () | method

`override public function clone():Event`

Called by the framework to facilitate any requisite event bubbling

Returns

| `Event`

Thu Apr 10 2014, 08:07 AM +10:00