| Pakiet | mx.messaging.events |
| Klasa | public class MessageAckEvent |
| Dziedziczenie | MessageAckEvent MessageEvent Event Object |
| Wersja języka: | ActionScript 3.0 |
| Wersje produktu: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Właściwości publiczne
| Właściwość | Zdefiniowane przez | ||
|---|---|---|---|
| acknowledgeMessage : AcknowledgeMessage [tylko do odczytu]
Utility property to get the message property from the MessageEvent as an AcknowledgeMessage. | MessageAckEvent | ||
![]() | bubbles : Boolean [tylko do odczytu]
Określa, czy zdarzenie może przechodzić fazę propagacji. | Event | |
![]() | cancelable : Boolean [tylko do odczytu]
Wskazuje, czy można uniemożliwić operacje skojarzone ze zdarzeniem. | Event | |
![]() | constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | Object | |
| correlation : IMessage
The original Message correlated with this acknowledgement. | MessageAckEvent | ||
![]() | currentTarget : Object [tylko do odczytu]
Obiekt przetwarzający aktywnie obiekt Event za pomocą detektora zdarzeń. | Event | |
![]() | eventPhase : uint [tylko do odczytu]
Bieżąca faza przepływu zdarzeń. | Event | |
![]() | message : IMessage
The Message associated with this event. | MessageEvent | |
![]() | target : Object [tylko do odczytu]
Miejsce docelowe zdarzenia. | Event | |
![]() | type : String [tylko do odczytu]
Typ zdarzenia. | Event | |
Metody publiczne
| Metoda | Zdefiniowane przez | ||
|---|---|---|---|
MessageAckEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, ack:AcknowledgeMessage = null, correlation:IMessage = null)
Constructs an instance of this event with the specified acknowledge
message and original correlated message. | MessageAckEvent | ||
[przesłanianie]
Clones the MessageAckEvent. | MessageAckEvent | ||
[statyczny]
Utility method to create a new MessageAckEvent that doesn't bubble and
is not cancelable. | MessageAckEvent | ||
![]() |
Funkcja narzędziowa umożliwiająca implementację metody toString() w niestandardowych klasach Event w języku ActionScript 3.0. | Event | |
![]() |
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | |
![]() |
Sprawdza, czy w odniesieniu do tego zdarzenia wywołano metodę preventDefault(). | Event | |
![]() |
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | |
![]() |
Anuluje domyślne ustawienia zdarzenia, o ile zachowanie to może być anulowane. | Event | |
![]() |
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | |
![]() |
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | Object | |
![]() |
Zapobiega przetwarzaniu wszelkich detektorów zdarzeń w węźle bieżącym i węzłach następujących po nim. | Event | |
![]() |
Zapobiega przetwarzaniu wszelkich detektorów zdarzeń w węzłach następujących po węźle bieżącym w przepływie zdarzeń. | Event | |
![]() |
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | |
[przesłanianie]
Returns a string representation of the MessageAckEvent. | MessageAckEvent | ||
![]() |
Zwraca pierwotną wartość dla określonego obiektu. | Object | |
Stałe publiczne
| Stała | Zdefiniowane przez | ||
|---|---|---|---|
| ACKNOWLEDGE : String = "acknowledge" [statyczny]
The ACKNOWLEDGE event type; dispatched upon receipt of an acknowledgement. | MessageAckEvent | ||
Szczegół właściwości
acknowledgeMessage | właściwość |
acknowledgeMessage:AcknowledgeMessage [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersje produktu: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Utility property to get the message property from the MessageEvent as an AcknowledgeMessage.
Implementacja
public function get acknowledgeMessage():AcknowledgeMessagecorrelation | właściwość |
public var correlation:IMessage| Wersja języka: | ActionScript 3.0 |
| Wersje produktu: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
The original Message correlated with this acknowledgement.
Konstruktor Szczegół
MessageAckEvent | () | Konstruktor |
public function MessageAckEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, ack:AcknowledgeMessage = null, correlation:IMessage = null)| Wersja języka: | ActionScript 3.0 |
| Wersje produktu: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Constructs an instance of this event with the specified acknowledge message and original correlated message.
Parametrytype:String — The type for the MessageAckEvent.
| |
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.
| |
ack:AcknowledgeMessage (default = null) — The AcknowledgeMessage this event should dispatch.
| |
correlation:IMessage (default = null) — The message correlated with this acknowledgement.
|
Szczegół metody
clone | () | metoda |
createEvent | () | metoda |
public static function createEvent(ack:AcknowledgeMessage = null, correlation:IMessage = null):MessageAckEvent| Wersja języka: | ActionScript 3.0 |
| Wersje produktu: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Utility method to create a new MessageAckEvent that doesn't bubble and is not cancelable.
Parametry
ack:AcknowledgeMessage (default = null) — The AcknowledgeMessage this event should dispatch.
| |
correlation:IMessage (default = null) — The Message correlated with this acknowledgement.
|
MessageAckEvent — New MessageAckEvent.
|
toString | () | metoda |
override public function toString():String| Wersja języka: | ActionScript 3.0 |
| Wersje produktu: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns a string representation of the MessageAckEvent.
ZwracaString — String representation of the MessageAckEvent.
|
Szczegół stałej
ACKNOWLEDGE | Stała |
public static const ACKNOWLEDGE:String = "acknowledge"| Wersja języka: | ActionScript 3.0 |
| Wersje produktu: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
The ACKNOWLEDGE event type; dispatched upon receipt of an acknowledgement.
The value of this constant is "acknowledge".
The properties of the event object have the following values:
| Property | Value |
|---|---|
acknowledgeMessage | Utility property to get the message property from MessageEvent as an AcknowledgeMessage. |
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. |
correlate | The original Message correlated with this acknowledgement. |
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, 12:06 PM Z
Ukryj dziedziczone właściwości publiczne
Pokaż dziedziczone właściwości publiczne