Paket | com.adobe.icc.editors.events |
Klass | public class AssetValidationEvent |
Arv | AssetValidationEvent Event Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 9.5 |
Körningsmiljöversioner: | 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.
Relaterade API-element
Egenskap | Definieras med | ||
---|---|---|---|
bubbles : Boolean [skrivskyddad]
indikerar om händelsen är en bubblande händelse. | Event | ||
cancelable : Boolean [skrivskyddad]
Indikerar om beteendet som är kopplat till händelsen kan förhindras. | Event | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
currentTarget : Object [skrivskyddad]
Det objekt som aktivt behandlar Event-objektet med en händelseavlyssnare. | Event | ||
data : *
The data is an arbitrary value associated with the type of fault
and varies from case to case. | AssetValidationEvent | ||
eventPhase : uint [skrivskyddad]
Den nuvarande fasen i händelseflödet. | Event | ||
faultType : int
The faultType corresponds to one of the constants defined in
the class AssetValidationFaultType. | AssetValidationEvent | ||
target : Object [skrivskyddad]
Händelsens mål. | Event | ||
type : String [skrivskyddad]
Händelsens typ. | Event |
Metod | Definieras med | ||
---|---|---|---|
Constructor. | AssetValidationEvent | ||
Skapar ett duplikat av en instans av en Event-underklass. | Event | ||
Ett verktyg som används för att implementera metoden toString() i de anpassade klasserna ActionScript 3.0. | Event | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Kontrollerar om preventDefault()-metoden har anropats för händelsen. | Event | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Avbryter en händelses standardbeteende om det beteendet kan avbrytas. | Event | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Förhindrar behandling av händelsehanterare i den aktuella noden och alla noder som följer den aktuella noden i händelseflödet. | Event | ||
Förhindrar behandling av händelsehanterare i noder som följer den aktuella noden i händelseflödet. | Event | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar en sträng som innehåller alla egenskaper i Event-objektet. | Event | ||
Returnerar det angivna objektets primitiva värde. | Object |
Konstant | Definieras med | ||
---|---|---|---|
INVALID : String = "invalid" [statisk]
The AssetValidationEvent.INVALID constant defines the value of the
type property of the event object for a invalid event. | AssetValidationEvent | ||
VALID : String = "valid" [statisk]
The AssetValidationEvent.VALID constant defines the value of the
type property of the event object for a valid event. | AssetValidationEvent |
data | egenskap |
public var data:*
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 9.5 |
Körningsmiljöversioner: | 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.
Relaterade API-element
faultType | egenskap |
public var faultType:int
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 9.5 |
Körningsmiljöversioner: | 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.
Relaterade API-element
AssetValidationEvent | () | Konstruktor |
public function AssetValidationEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 9.5 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Constructor.
Parametrartype: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 | Konstant |
public static const INVALID:String = "invalid"
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 9.5 |
Körningsmiljöversioner: | 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 | Konstant |
public static const VALID:String = "valid"
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 9.5 |
Körningsmiljöversioner: | 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, 01:40 PM Z