Paket | mx.data.events |
Klass | public class DataServiceResultEvent |
Arv | DataServiceResultEvent ResultEvent AbstractEvent MessageEvent Event Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Publika egenskaper
Egenskap | Definieras med | ||
---|---|---|---|
bubbles : Boolean [skrivskyddad]
indikerar om händelsen är en bubblande händelse. | Event | ||
cacheResponse : Boolean
When this property is true this event was dispatched in
response to a method call executed against the local cache. | DataServiceResultEvent | ||
cancelable : Boolean [skrivskyddad]
Indikerar om beteendet som är kopplat till händelsen kan förhindras. | Event | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
currentTarget : Object [skrivskyddad]
Det objekt som aktivt behandlar Event-objektet med en händelseavlyssnare. | Event | ||
eventPhase : uint [skrivskyddad]
Den nuvarande fasen i händelseflödet. | Event | ||
headers : Object
In certain circumstances, headers may also be returned with a result to
provide further context. | ResultEvent | ||
message : IMessage
The Message associated with this event. | MessageEvent | ||
result : Object [skrivskyddad]
Result that the RPC call returns. | ResultEvent | ||
statusCode : int [skrivskyddad]
If the source message was sent via HTTP, this property provides access
to the HTTP response status code (if available), otherwise the value is
0. | ResultEvent | ||
target : Object [skrivskyddad]
Händelsens mål. | Event | ||
token : mx.rpc:AsyncToken [skrivskyddad]
The token that represents the call to the method. | AbstractEvent | ||
type : String [skrivskyddad]
Händelsens typ. | Event |
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
DataServiceResultEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, result:Object = null, token:mx.rpc:AsyncToken = null, message:IMessage = null, cacheResponse:Boolean = false)
Constructor. | DataServiceResultEvent | ||
[åsidosätt]
Clones the MessageEvent. | MessageEvent | ||
createEvent(result:Object, token:mx.rpc:AsyncToken, message:IMessage, cacheResponse:Boolean = false):DataServiceResultEvent [statisk]
Creates a DataServiceResultEvent object. | DataServiceResultEvent | ||
Ett verktyg som används för att implementera metoden toString() i de anpassade klasserna ActionScript 3.0. | Event | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Kontrollerar om preventDefault()-metoden har anropats för händelsen. | Event | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Avbryter en händelses standardbeteende om det beteendet kan avbrytas. | Event | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Förhindrar behandling av händelsehanterare i den aktuella noden och alla noder som följer den aktuella noden i händelseflödet. | Event | ||
Förhindrar behandling av händelsehanterare i noder som följer den aktuella noden i händelseflödet. | Event | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
[åsidosätt]
Returns a string representation of the ResultEvent. | ResultEvent | ||
Returnerar det angivna objektets primitiva värde. | Object |
Publika konstanter
Konstant | Definieras med | ||
---|---|---|---|
RESULT : String = "result" [statisk]
The RESULT constant defines the value of the type property
of the event object for a result event. | DataServiceResultEvent |
Egenskapsdetaljer
cacheResponse | egenskap |
public var cacheResponse:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
When this property is true
this event was dispatched in
response to a method call executed against the local cache.
When false
this event was dispatched in response to a method
call executed against the remote destination.
Konstruktordetaljer
DataServiceResultEvent | () | Konstruktor |
public function DataServiceResultEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, result:Object = null, token:mx.rpc:AsyncToken = null, message:IMessage = null, cacheResponse:Boolean = false)
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Constructor.
Parametrartype:String — The event type; indicates the action that caused the event.
| |
bubbles:Boolean (default = false ) — Specifies whether the event can bubble up the display list hierarchy.
| |
cancelable:Boolean (default = true ) — Specifies whether the behavior associated with the event can be prevented.
| |
result:Object (default = null ) — Object that holds the actual result of the call.
| |
token:mx.rpc:AsyncToken (default = null ) — Token representing the call to the method. Used in the asynchronous completion token pattern.
| |
message:IMessage (default = null ) — Source Message of the fault.
| |
cacheResponse:Boolean (default = false ) — When true , this event was dispatched in
response to a method call executed against the local cache.
When false this event was dispatched in response to a method
call executed against the remote destination.
|
Metoddetaljer
createEvent | () | metod |
public static function createEvent(result:Object, token:mx.rpc:AsyncToken, message:IMessage, cacheResponse:Boolean = false):DataServiceResultEvent
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Creates a DataServiceResultEvent object.
Parametrar
result:Object — Object that holds the actual result of the call.
| |
token:mx.rpc:AsyncToken — Token representing the call to the method. Used in the asynchronous completion token pattern.
| |
message:IMessage — Source Message of the fault.
| |
cacheResponse:Boolean (default = false ) — When true , this event was dispatched in
response to a method call executed against the local cache.
When false this event was dispatched in response to a method
call executed against the remote destination.
|
DataServiceResultEvent — The new DataServiceResultEvent object.
|
Konstantdetaljer
RESULT | Konstant |
public static const RESULT:String = "result"
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The RESULT
constant defines the value of the type
property
of the event object for a result
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | true, calling preventDefault() from the associated token's responder.fault method will prevent the service or operation from dispatching this event |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
result | Object that holds the result. |
message | The Message associated with this event. |
token | The token that represents the call to the method. Used in the asynchronous completion token pattern. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
Tue Jun 12 2018, 01:40 PM Z