Pakiet | com.adobe.icc.editors.events |
Klasa | public class AssetValidationEvent |
Dziedziczenie | AssetValidationEvent Event Object |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Asset Composer Building Block 9.5 |
Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 10.2 |
This event is dispatched by various asset domain classes when the
validate()
method has been invoked on them. This event
encapsulates the result of the client side validations performed on the
domain object the validate()
api was called for.
Powiązane elementy interfejsu API
Właściwość | Zdefiniowane przez | ||
---|---|---|---|
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 | ||
currentTarget : Object [tylko do odczytu]
Obiekt przetwarzający aktywnie obiekt Event za pomocą detektora zdarzeń. | Event | ||
data : *
The data is an arbitrary value associated with the type of fault
and varies from case to case. | AssetValidationEvent | ||
eventPhase : uint [tylko do odczytu]
Bieżąca faza przepływu zdarzeń. | Event | ||
faultType : int
The faultType corresponds to one of the constants defined in
the class AssetValidationFaultType. | AssetValidationEvent | ||
target : Object [tylko do odczytu]
Miejsce docelowe zdarzenia. | Event | ||
type : String [tylko do odczytu]
Typ zdarzenia. | Event |
Metoda | Zdefiniowane przez | ||
---|---|---|---|
Constructor. | AssetValidationEvent | ||
Powiela instancję podklasy Event. | Event | ||
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 | ||
Zwraca ciąg znaków, który zawiera wszystkie właściwości obiektu Event. | Event | ||
Zwraca pierwotną wartość dla określonego obiektu. | Object |
Stała | Zdefiniowane przez | ||
---|---|---|---|
INVALID : String = "invalid" [statyczny]
The AssetValidationEvent.INVALID constant defines the value of the
type property of the event object for a invalid event. | AssetValidationEvent | ||
VALID : String = "valid" [statyczny]
The AssetValidationEvent.VALID constant defines the value of the
type property of the event object for a valid event. | AssetValidationEvent |
data | właściwość |
public var data:*
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Asset Composer Building Block 9.5 |
Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 10.2 |
The data
is an arbitrary value associated with the type of fault
and varies from case to case. The following table illustrates the association
between fault codes and the related data:
Fault Code | Data |
---|---|
AssetValidationFaultType.INCOMPATIBLE_DATADICTIONARY | Array of assets dependent upon the target asset |
invalid
event type. For the
case of valid
event type, this property must be ignored.
Powiązane elementy interfejsu API
faultType | właściwość |
public var faultType:int
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Asset Composer Building Block 9.5 |
Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 10.2 |
The faultType
corresponds to one of the constants defined in
the class AssetValidationFaultType
.
invalid
event type. For the
case of valid
event type, this property must be ignored.
Powiązane elementy interfejsu API
AssetValidationEvent | () | Konstruktor |
public function AssetValidationEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Asset Composer Building Block 9.5 |
Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 10.2 |
Constructor.
Parametrytype: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 = false ) — Specifies whether the behavior
associated with the event can be prevented.
|
INVALID | Stała |
public static const INVALID:String = "invalid"
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Asset Composer Building Block 9.5 |
Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 10.2 |
The AssetValidationEvent.INVALID
constant defines the value of the
type
property of the event object for a invalid
event.
The invalid
event is dispatched when the validations executed
on the domain object fail for some reason. The validations are run implicitly when
the domain object is saved or explicitly when the validate()
method
is invoked on a domain object like TextModel, ListModel etc.
When this event is dispatched, the properties faultType
and
data
contain meaningful values and can be read to find out the
reason for failure and any data associated.
VALID | Stała |
public static const VALID:String = "valid"
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Asset Composer Building Block 9.5 |
Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 10.2 |
The AssetValidationEvent.VALID
constant defines the value of the
type
property of the event object for a valid
event.
The valid
event is dispatched when the validations executed
on the domain object are successful. The validations are run implicitly when
the domain object is saved or explicitly when the validate()
method
is invoked on a domain object like TextModel, ListModel etc.
Tue Jun 12 2018, 12:06 PM Z