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...
com.adobe.icc.editors.events 

AssetEvent  - AS3 Układacz zasobów

Pakietcom.adobe.icc.editors.events
Klasapublic class AssetEvent
DziedziczenieAssetEvent Inheritance FlexEvent Inheritance Event Inheritance Object

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 9.5
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

The AssetEvent class represents the event object passed to the event listener for domain api invokers.

This event is dispatched by various asset domain classes to signify events related to operations being carried out on them. For example, the class LetterModel dispatches an event of this type when it is saved. The event can be leveraged to show certain cues on the UI accordingly.



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
  fault : Fault
The fault object encapsulating the error sent by the server.
AssetEvent
 Inheritedtarget : Object
[tylko do odczytu] Miejsce docelowe zdarzenia.
Event
 Inheritedtype : String
[tylko do odczytu] Typ zdarzenia.
Event
Metody publiczne
 MetodaZdefiniowane przez
  
AssetEvent(type:String, bubbles:Boolean = true, cancelable:Boolean = false, fault:Fault = null)
Constructor.
AssetEvent
 Inherited
Powiela instancję podklasy Event.
Event
 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
 Inherited
Zwraca ciąg znaków, który zawiera wszystkie właściwości obiektu Event.
Event
 Inherited
Zwraca pierwotną wartość dla określonego obiektu.
Object
Stałe publiczne
 StałaZdefiniowane przez
  SAVE_COMPLETE : String = "saveComplete"
[statyczny] The AssetEvent.SAVE_COMPLETE constant defines the value of the type property of the event object for a saveComplete event.
AssetEvent
  SAVE_FAULT : String = "saveFault"
[statyczny] The AssetEvent.SAVE_FAULT constant defines the value of the type property of the event object for a saveFault event.
AssetEvent
  SAVING : String = "saving"
[statyczny] The AssetEvent.SAVING constant defines the value of the type property of the event object for a saving event.
AssetEvent
Szczegół właściwości

fault

właściwość
public var fault:Fault

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 9.5
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

The fault object encapsulating the error sent by the server. This property is applicable only if the event type is saveFault. In case of other events, this property remains null and should be ignored.

Konstruktor Szczegół

AssetEvent

()Konstruktor
public function AssetEvent(type:String, bubbles:Boolean = true, cancelable:Boolean = false, fault:Fault = null)

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 9.5
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Constructor.

Parametry
type:String — The event type; indicates the action that caused the event.
 
bubbles:Boolean (default = true) — Specifies whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
 
fault:Fault (default = null) — The fault object related to the error sent by the server. This is applicable only in case of the event type saveFault
Szczegół stałej

SAVE_COMPLETE

Stała
public static const SAVE_COMPLETE:String = "saveComplete"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 9.5
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

The AssetEvent.SAVE_COMPLETE constant defines the value of the type property of the event object for a saveComplete event.

The saveComplete event is dispatched when the domain object has been successfully saved on the server. Unlike the saving event, this is dispatched in an aysnchronous manner only after the server has responded with a result for the save api call.

This event can be used to stop UI animations indicating "save in progress" or to popup an info box indicating save success.

SAVE_FAULT

Stała 
public static const SAVE_FAULT:String = "saveFault"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 9.5
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

The AssetEvent.SAVE_FAULT constant defines the value of the type property of the event object for a saveFault event.

The saveFault event is dispatched when the server reports an error while saving the asset on the server. Unlike the saving event, this is dispatched in an aysnchronous manner only after the server has responded with a result for the save api call.

When this event is dispatched, the fault property contains the fault object encapsulating the error sent by the server. The fault property can be used to determine the faultCode and show an error message accordingly.

This event can be used to stop UI animations indicating "save in progress" or to popup an info box indicating save success.

SAVING

Stała 
public static const SAVING:String = "saving"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 9.5
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

The AssetEvent.SAVING constant defines the value of the type property of the event object for a saving event.

The saving event is dispatched when the save() method has been called on the domain object. This event is dispatched before any server api is invoked but after the domain client validations are complete. This is because the actual save starts once the client validations are complete.

This event can be used to start a UI animation indicating "save in progress".

Powiązane elementy interfejsu API





[ 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.