Guida di riferimento di ActionScript® 3.0 per la piattaforma Adobe® Flash®
Home  |  Nascondi elenco pacchetti e classi |  Pacchetti  |  Classi  |  Novità  |  Indice  |  Appendici  |  Perché in inglese?
Filtri: Recupero dati dal server...
Recupero dati dal server...
mx.automation.events 

AutomationRecordEvent  - AS3 Flex

Pacchettomx.automation.events
Classepublic class AutomationRecordEvent
EreditarietàAutomationRecordEvent Inheritance Event Inheritance Object

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

The AutomationRecordEvent class represents event objects that are dispatched by the AutomationManager. Used by the functional testing classes and any other classes that must record user interactions.

Altri esempi



Proprietà pubbliche
 ProprietàDefinito da
  args : Array
A serialized representation of the event as an Array of it's property values.
AutomationRecordEvent
  automationObject : IAutomationObject
The delegate of the UIComponent object that is recording this event.
AutomationRecordEvent
 Inheritedbubbles : Boolean
[sola lettura] Indica se un evento è un evento di bubbling.
Event
  cacheable : Boolean
Contains true if this is a cacheable event, and false if not.
AutomationRecordEvent
 Inheritedcancelable : Boolean
[sola lettura] Indica se il comportamento associato all'evento può essere impedito.
Event
 Inheritedconstructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto.
Object
 InheritedcurrentTarget : Object
[sola lettura] L'oggetto che elabora attivamente l'oggetto Event con un listener di eventi.
Event
 InheritedeventPhase : uint
[sola lettura] La fase attuale del flusso di eventi.
Event
  name : String
The automation event name.
AutomationRecordEvent
  recordTriggeredByCustomHandling : Boolean
Contains true if this event current record is caused from a custom record event, and false if not.
AutomationRecordEvent
  replayableEvent : Event
The underlying interaction.
AutomationRecordEvent
 Inheritedtarget : Object
[sola lettura] Il target dell'evento.
Event
 Inheritedtype : String
[sola lettura] Il tipo di evento.
Event
Metodi pubblici
 MetodoDefinito da
  
AutomationRecordEvent(type:String = "record", bubbles:Boolean = true, cancelable:Boolean = true, automationObject:IAutomationObject = null, replayableEvent:Event = null, args:Array = null, name:String = null, cacheable:Boolean = false, recordTriggeredByCustomHandling:Boolean = false)
Constructor.
AutomationRecordEvent
 Inherited
Duplica un'istanza di una sottoclasse Event.
Event
 Inherited
formatToString(className:String, ... arguments):String
Una funzione dell'utilità per l'implementazione del metodo toString() in classi Event ActionScript 3.0 personalizzate.
Event
 Inherited
Indica se per un oggetto è definita una proprietà specifica.
Object
 Inherited
Verifica se sull'evento è stato chiamato il metodo preventDefault().
Event
 Inherited
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro.
Object
 Inherited
Annulla il comportamento predefinito di un evento se tale comportamento può essere annullato.
Event
 Inherited
Indica se la proprietà specificata esiste ed è enumerabile.
Object
 Inherited
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche.
Object
 Inherited
Impedisce l'elaborazione di tutti i listener di eventi nel nodo corrente e in tutti i nodi successivi del flusso di eventi.
Event
 Inherited
Impedisce l'elaborazione di tutti i listener di eventi nei nodi del flusso di eventi successivi a quello corrente.
Event
 Inherited
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate.
Object
 Inherited
Restituisce una stringa che contiene tutte le proprietà dell'oggetto Event.
Event
 Inherited
Restituisce il valore di base dell'oggetto specificato.
Object
Costanti pubbliche
 CostanteDefinito da
  CUSTOM_RECORD : String = "customRecord"
[statico] refer recordCustomAutomationEvent in IAutomationManager for the usage of this constant
AutomationRecordEvent
  RECORD : String = "record"
[statico] The AutomationRecordEvent.RECORD constant defines the value of the type property of the event object for a record event.
AutomationRecordEvent
Descrizione delle proprietà

args

proprietà
public var args:Array

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

A serialized representation of the event as an Array of it's property values.

automationObject

proprietà 
public var automationObject:IAutomationObject

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

The delegate of the UIComponent object that is recording this event.

cacheable

proprietà 
public var cacheable:Boolean

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

Contains true if this is a cacheable event, and false if not.

name

proprietà 
public var name:String

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

The automation event name.

recordTriggeredByCustomHandling

proprietà 
public var recordTriggeredByCustomHandling:Boolean

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

Contains true if this event current record is caused from a custom record event, and false if not. User can use this field to differentiate the record event triggered by the framework and the custom record. e.g if the list has the select event and currently it recors the selection details either with index or with the selected item. But user would like to record the details with both but would like to record it with the same event name, it will be pretty cumborosome to differentiate the select event triggerd by framework and the one triggered by using the recordCustomAutomationEvent() API on the automation manager. If the event was triggered using the recordCustomAutomationEvent() API this flag will be true. In all other cases framework will keep this flag with the default value

replayableEvent

proprietà 
public var replayableEvent:Event

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

The underlying interaction.

Descrizione della funzione di costruzione

AutomationRecordEvent

()Funzione di costruzione
public function AutomationRecordEvent(type:String = "record", bubbles:Boolean = true, cancelable:Boolean = true, automationObject:IAutomationObject = null, replayableEvent:Event = null, args:Array = null, name:String = null, cacheable:Boolean = false, recordTriggeredByCustomHandling:Boolean = false)

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

Constructor.

Parametri
type:String (default = "record") — The event type; indicates the action that caused the event.
 
bubbles:Boolean (default = true) — Whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean (default = true) — Whether the behavior associated with the event can be prevented.
 
automationObject:IAutomationObject (default = null) — Delegate of the UIComponent that is dispatching the interaction.
 
replayableEvent:Event (default = null) — Underlying event that represents the interaction.
 
args:Array (default = null) — Array of arguments that are passed to the method that is currently being recorded.
 
name:String (default = null) — Displayable name of the operation.
 
cacheable:Boolean (default = false)true if the event should be saved in the event cache, and false if not.
 
recordTriggeredByCustomHandling:Boolean (default = false)
Descrizione delle costanti

CUSTOM_RECORD

Costante
public static const CUSTOM_RECORD:String = "customRecord"

refer recordCustomAutomationEvent in IAutomationManager for the usage of this constant

RECORD

Costante 
public static const RECORD:String = "record"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

The AutomationRecordEvent.RECORD constant defines the value of the type property of the event object for a record event.

The properties of the event object have the following values:

PropertyValue
argsArray of arguments to the method.
automationObjectDelegate of the UIComponent that is dispatching the interaction.
bubblestrue
cacheabletrue if the event should be saved in the event cache, and false if not.
cancelabletrue
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.
methodNameA displayable Name of the operation
replayableEventUnderlying event that represents the interaction.
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 ]Perché in inglese?
Il contenuto della Guida di riferimento di ActionScript 3.0 appare in inglese

Non tutte le parti della Guida di riferimento di ActionScript 3.0 sono tradotte in tutte le lingue. Quando un elemento del linguaggio non è tradotto, viene riportato in inglese. Ad esempio, la classe ga.controls.HelpBox non è tradotta in nessuna lingua. Pertanto, nella versione italiana della guida di riferimento, la descrizione della classe ga.controls.HelpBox è riportata in inglese.