| Paket | mx.rpc.events |
| Sınıf | public class ResultEvent |
| Miras Alma | ResultEvent AbstractEvent MessageEvent Event Object |
| Alt Sınıflar | ColdFusionServiceResultEvent, DataServiceResultEvent, SyncResultEvent |
| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 3 |
| Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Genel Özellikler
| Özellik | Tanımlayan: | ||
|---|---|---|---|
![]() | bubbles : Boolean [salt okunur]
Bir olayın köpüren bir olay olup olmadığını belirtir. | Event | |
![]() | cancelable : Boolean [salt okunur]
Olayla ilişkilendirilmiş davranışın önlenebilir olup olmadığını gösterir. | Event | |
![]() | constructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru. | Object | |
![]() | currentTarget : Object [salt okunur]
Bu Event nesnesini olay dinleyicisiyle etkin olarak işleyen nesne. | Event | |
![]() | eventPhase : uint [salt okunur]
Olay akışındaki geçerli aşama. | 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 [salt okunur]
Result that the RPC call returns. | ResultEvent | ||
| statusCode : int [salt okunur]
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 [salt okunur]
Olay hedefi. | Event | |
![]() | token : mx.rpc:AsyncToken [salt okunur]
The token that represents the call to the method. | AbstractEvent | |
![]() | type : String [salt okunur]
Olay türü. | Event | |
Genel Yöntemler
| Yöntem | Tanımlayan: | ||
|---|---|---|---|
ResultEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, result:Object = null, token:mx.rpc:AsyncToken = null, message:IMessage = null)
Creates a new ResultEvent. | ResultEvent | ||
![]() | [geçersiz kıl]
Clones the MessageEvent. | MessageEvent | |
![]() | [statik]
Utility method to create a new MessageEvent that doesn't bubble and
is not cancelable. | MessageEvent | |
![]() |
Özel ActionScript 3.0 Event sınıfınızdaki toString() yöntemini uygulamak için bir yardımcı işlev. | Event | |
![]() |
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir. | Object | |
![]() |
Olayda preventDefault() öğesinin çağrılmış olup olmadığını kontrol eder. | Event | |
![]() |
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir. | Object | |
![]() |
Bir olayın varsayılan davranışını, bu yapılabiliyorsa iptal eder. | Event | |
![]() |
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir. | Object | |
![]() |
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar. | Object | |
![]() |
Olay akışında geçerli düğümdeki ve ondan sonra gelen düğümlerdeki olay dinleyicilerin işlenmesini engeller. | Event | |
![]() |
Olay akışında geçerli düğümden sonra gelen düğümlerdeki olay dinleyicilerin işlenmesini engeller. | Event | |
![]() |
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür. | Object | |
[geçersiz kıl]
Returns a string representation of the ResultEvent. | ResultEvent | ||
![]() |
Belirtilen nesnenin temel değerini döndürür. | Object | |
Genel Sabitler
| Sabit | Tanımlayan: | ||
|---|---|---|---|
| RESULT : String = "result" [statik]
The RESULT event type. | ResultEvent | ||
Özellik Ayrıntısı
headers | özellik |
headers:Object| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 3 |
| Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
In certain circumstances, headers may also be returned with a result to provide further context.
Uygulama
public function get headers():Object public function set headers(value:Object):voidresult | özellik |
statusCode | özellik |
statusCode:int [salt okunur] | Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 3 |
| Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
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.
Uygulama
public function get statusCode():intYapıcı Ayrıntı
ResultEvent | () | Yapıcı |
public function ResultEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, result:Object = null, token:mx.rpc:AsyncToken = null, message:IMessage = null)| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 3 |
| Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Creates a new ResultEvent.
Parametrelertype: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 = 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 that represents the call to the method. Used in the asynchronous completion token pattern.
| |
message:IMessage (default = null) — Source Message of the result.
|
Yöntem Ayrıntısı
toString | () | yöntem |
Sabit Ayrıntısı
RESULT | Sabit |
public static const RESULT:String = "result"| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 3 |
| Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The RESULT event type.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | true, preventDefault() from the associated token's responder.result 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. |
message | The Message associated with this event. |
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. |
result | Result that the RPC call returns. |
token | The token that represents the indiviudal call to the method. Used in the asynchronous completion token pattern. |
Tue Jun 12 2018, 01:09 PM Z
Miras Alınan Genel Özellikleri Gizle
Miras Alınan Genel Özellikleri Göster