Referencia de ActionScript® 3.0 para la plataforma de Adobe® Flash®
Inicio  |  Ocultar lista de paquetes y clases |  Paquetes  |  Clases  |  Novedades  |  Índice  |  Apéndices  |  ¿Por qué hay texto en inglés?
Filtros: Recuperando datos del servidor...
Recuperando datos del servidor...
mx.automation.events 

AutomationRecordEvent  - AS3 Flex

Paquetemx.automation.events
Clasepublic class AutomationRecordEvent
HerenciaAutomationRecordEvent Inheritance Event Inheritance Object

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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.

Más ejemplos



Propiedades públicas
 PropiedadDefinido por
  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
[solo lectura] Indica si un evento es un evento de propagación.
Event
  cacheable : Boolean
Contains true if this is a cacheable event, and false if not.
AutomationRecordEvent
 Inheritedcancelable : Boolean
[solo lectura] Indica si se puede evitar el comportamiento asociado al evento.
Event
 Inheritedconstructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada.
Object
 InheritedcurrentTarget : Object
[solo lectura] Objeto que procesa de forma activa el objeto de evento con un detector de eventos.
Event
 InheritedeventPhase : uint
[solo lectura] La fase actual en el flujo del evento.
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
[solo lectura] El destino del evento.
Event
 Inheritedtype : String
[solo lectura] El tipo de evento.
Event
Métodos públicos
 MétodoDefinido por
  
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 una instancia de la subclase Event.
Event
 Inherited
formatToString(className:String, ... arguments):String
Una función de utilidad para implementar el método toString() en las clases Event personalizadas de ActionScript 3.0.
Event
 Inherited
Indica si un objeto tiene definida una propiedad especificada.
Object
 Inherited
Comprueba si se ha llamado a preventDefault() en el evento.
Event
 Inherited
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro.
Object
 Inherited
Cancela el comportamiento predeterminado de un evento si es posible cancelarlo.
Event
 Inherited
Indica si existe la propiedad especificada y si es enumerable.
Object
 Inherited
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle.
Object
 Inherited
Impide el proceso de cualquier detector de eventos en el nodo actual y los nodos siguientes en el flujo del evento.
Event
 Inherited
Impide el proceso de cualquier detector de eventos en nodos siguientes al nodo actual.
Event
 Inherited
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional.
Object
 Inherited
Devuelve una cadena que contiene todas las propiedades del objeto de evento.
Event
 Inherited
Devuelve el valor simple del objeto especificado.
Object
Constantes públicas
 ConstanteDefinido por
  CUSTOM_RECORD : String = "customRecord"
[estática] refer recordCustomAutomationEvent in IAutomationManager for the usage of this constant
AutomationRecordEvent
  RECORD : String = "record"
[estática] The AutomationRecordEvent.RECORD constant defines the value of the type property of the event object for a record event.
AutomationRecordEvent
Información sobre propiedades

args

propiedad
public var args:Array

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

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

automationObject

propiedad 
public var automationObject:IAutomationObject

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

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

cacheable

propiedad 
public var cacheable:Boolean

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

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

name

propiedad 
public var name:String

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

The automation event name.

recordTriggeredByCustomHandling

propiedad 
public var recordTriggeredByCustomHandling:Boolean

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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

propiedad 
public var replayableEvent:Event

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

The underlying interaction.

Información sobre constructores

AutomationRecordEvent

()Información sobre
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)

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Constructor.

Parámetros
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)
Información sobre constantes

CUSTOM_RECORD

Constante
public static const CUSTOM_RECORD:String = "customRecord"

refer recordCustomAutomationEvent in IAutomationManager for the usage of this constant

RECORD

Constante 
public static const RECORD:String = "record"

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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 ]¿Por qué hay texto en inglés?
Cierto contenido de la Referencia de ActionScript 3.0 se muestra en inglés

No todo el contenido de la Referencia de ActionScript 3.0 se traduce a todos los idiomas. Si un elemento del lenguaje no se traduce, aparecerá en inglés. Por ejemplo, la clase ga.controls.HelpBox no está traducida en ningún idioma. Por lo tanto, en la versión en español de la referencia, la clase ga.controls.HelpBox aparecerá en inglés.