Paket | mx.messaging.events |
Sınıf | public class MessageEvent |
Miras Alma | MessageEvent ![]() ![]() |
Alt Sınıflar | AbstractEvent, MessageAckEvent |
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Ö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 | |
message : IMessage
The Message associated with this event. | MessageEvent | ||
![]() | target : Object [salt okunur]
Olay hedefi. | Event | |
![]() | type : String [salt okunur]
Olay türü. | Event |
Yöntem | Tanımlayan: | ||
---|---|---|---|
MessageEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, message:IMessage = null)
Constructs an instance of this event with the specified type and
message. | MessageEvent | ||
[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 MessageEvent. | MessageEvent | ||
![]() |
Belirtilen nesnenin temel değerini döndürür. | Object |
Sabit | Tanımlayan: | ||
---|---|---|---|
MESSAGE : String = "message" [statik]
The MESSAGE event type; dispatched upon receipt of a message. | MessageEvent | ||
RESULT : String = "result" [statik]
The RESULT event type; dispatched when an RPC agent receives a result from
a remote service destination. | MessageEvent |
message | özellik |
public var message:IMessage
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The Message associated with this event.
MessageEvent | () | Yapıcı |
public function MessageEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, message:IMessage = null)
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Constructs an instance of this event with the specified type and message.
Parametrelertype:String — The type for the MessageEvent.
| |
bubbles:Boolean (default = false ) — Specifies whether the event can bubble up the display
list hierarchy.
| |
cancelable:Boolean (default = false ) — Indicates whether the behavior associated with the
event can be prevented; used by the RPC subclasses.
| |
message:IMessage (default = null ) — The associated message.
|
clone | () | yöntem |
createEvent | () | yöntem |
public static function createEvent(type:String, msg:IMessage):MessageEvent
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Utility method to create a new MessageEvent that doesn't bubble and is not cancelable.
Parametreler
type:String — The type for the MessageEvent.
| |
msg:IMessage — The associated message.
|
MessageEvent — New MessageEvent.
|
toString | () | yöntem |
override public function toString():String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Returns a string representation of the MessageEvent.
DöndürürString — String representation of the MessageEvent.
|
MESSAGE | Sabit |
public static const MESSAGE:String = "message"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The MESSAGE event type; dispatched upon receipt of a message.
The value of this constant is "message"
.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
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 | Sabit |
public static const RESULT:String = "result"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The RESULT event type; dispatched when an RPC agent receives a result from a remote service destination.
The value of this constant is "result"
.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
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. |
Tue Jun 12 2018, 01:09 PM Z