ActionScript® 3.0 — dokumentacja dla platformy Adobe® Flash®
Strona główna  |  Ukryj listę pakietów i klas |  Pakiety  |  Klasy  |  Nowości  |  Indeks  |  Dodatki  |  Dlaczego język angielski?
Filtry: Pobieranie danych z serwera...
Pobieranie danych z serwera...
mx.rpc.events 

HeaderEvent  - AS3 Flex

Pakietmx.rpc.events
Klasapublic class HeaderEvent
DziedziczenieHeaderEvent Inheritance AbstractEvent Inheritance MessageEvent Inheritance Event Inheritance Object

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

The event that indicates an RPC operation, such as a WebService SOAP request, returned a header in the response. A new header event is dispatched for each service header.



Właściwości publiczne
 WłaściwośćZdefiniowane przez
 Inheritedbubbles : Boolean
[tylko do odczytu] Określa, czy zdarzenie może przechodzić fazę propagacji.
Event
 Inheritedcancelable : Boolean
[tylko do odczytu] Wskazuje, czy można uniemożliwić operacje skojarzone ze zdarzeniem.
Event
 Inheritedconstructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu.
Object
 InheritedcurrentTarget : Object
[tylko do odczytu] Obiekt przetwarzający aktywnie obiekt Event za pomocą detektora zdarzeń.
Event
 InheritedeventPhase : uint
[tylko do odczytu] Bieżąca faza przepływu zdarzeń.
Event
  header : Object
[tylko do odczytu] Header that the RPC call returned in the response.
HeaderEvent
 Inheritedmessage : IMessage
The Message associated with this event.
MessageEvent
 Inheritedtarget : Object
[tylko do odczytu] Miejsce docelowe zdarzenia.
Event
 Inheritedtoken : mx.rpc:AsyncToken
[tylko do odczytu] The token that represents the call to the method.
AbstractEvent
 Inheritedtype : String
[tylko do odczytu] Typ zdarzenia.
Event
Metody publiczne
 MetodaZdefiniowane przez
  
HeaderEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, header:Object = null, token:mx.rpc:AsyncToken = null, message:IMessage = null)
Creates a new HeaderEvent.
HeaderEvent
 Inherited
[przesłanianie] Clones the MessageEvent.
MessageEvent
  
[statyczny] Utility method to create a new HeaderEvent that doesn't bubble and is cancelable.
HeaderEvent
 Inherited
formatToString(className:String, ... arguments):String
Funkcja narzędziowa umożliwiająca implementację metody toString() w niestandardowych klasach Event w języku ActionScript 3.0.
Event
 Inherited
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość.
Object
 Inherited
Sprawdza, czy w odniesieniu do tego zdarzenia wywołano metodę preventDefault().
Event
 Inherited
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr.
Object
 Inherited
Anuluje domyślne ustawienia zdarzenia, o ile zachowanie to może być anulowane.
Event
 Inherited
Wskazuje, czy określona właściwość istnieje i jest przeliczalna.
Object
 Inherited
Ustawia dostępność właściwości dynamicznej używanej w pętlach.
Object
 Inherited
Zapobiega przetwarzaniu wszelkich detektorów zdarzeń w węźle bieżącym i węzłach następujących po nim.
Event
 Inherited
Zapobiega przetwarzaniu wszelkich detektorów zdarzeń w węzłach następujących po węźle bieżącym w przepływie zdarzeń.
Event
 Inherited
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 HeaderEvent.
HeaderEvent
 Inherited
Zwraca pierwotną wartość dla określonego obiektu.
Object
Stałe publiczne
 StałaZdefiniowane przez
  HEADER : String = "header"
[statyczny] The HEADER event type.
HeaderEvent
Szczegół właściwości

header

właściwość
header:Object  [tylko do odczytu]

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Header that the RPC call returned in the response.



Implementacja
    public function get header():Object
Konstruktor Szczegół

HeaderEvent

()Konstruktor
public function HeaderEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, header:Object = null, token:mx.rpc:AsyncToken = null, message:IMessage = null)

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Creates a new HeaderEvent.

Parametry
type: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. The dfault is true, but the preventDefault() method has no effect.
 
header:Object (default = null) — Object that holds the header of the call.
 
token:mx.rpc:AsyncToken (default = null) — AsyncToken that represents the call to the method. Used in the asynchronous completion token pattern.
 
message:IMessage (default = null) — Source Message of the header.
Szczegół metody

createEvent

()metoda
public static function createEvent(header:Object, token:mx.rpc:AsyncToken, message:IMessage):HeaderEvent

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Utility method to create a new HeaderEvent that doesn't bubble and is cancelable.

Parametry

header:Object — Object that holds the header of the call.
 
token:mx.rpc:AsyncToken — AsyncToken that represents the call to the method. Used in the asynchronous completion token pattern.
 
message:IMessage — Source Message header.

Zwraca
HeaderEvent — Returns a new HeaderEvent that doesn't bubble and is cancelable.

toString

()metoda 
override public function toString():String

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Returns a string representation of the HeaderEvent.

Zwraca
String — String representation of the HeaderEvent.
Szczegół stałej

HEADER

Stała
public static const HEADER:String = "header"

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

The HEADER event type.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
tokenThe token that represents the call to the method. Used in the asynchronous completion token pattern.
cancelabletrue, but the preventDefault() method has no effect.
currentTargetThe 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.
headerHeader that the RPC call returns in the response.
messageThe Message associated with this event.
targetThe 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.





[ X ]Dlaczego język angielski?
Treść dokumentacji języka ActionScript 3.0 wyświetlana w języku angielskim

Niektóre części dokumentacji języka ActionScript 3.0 nie są przetłumaczone na poszczególne języki. Gdy element nie jest przetłumaczony na dany język, jest wyświetlany tekst angielski. Na przykład opis klasy ga.controls.HelpBox nie jest przetłumaczony na żaden dodatkowy język. Z tego powodu polska wersja dokumentacji zawiera opis klasy ga.controls.HelpBox w języku angielskim.