Paquete | mx.automation.events |
Clase | public class AutomationRecordEvent |
Herencia | AutomationRecordEvent Event 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 |
Más ejemplos
Propiedad | Definido 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 | ||
bubbles : 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 | ||
cancelable : Boolean [solo lectura]
Indica si se puede evitar el comportamiento asociado al evento. | Event | ||
constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | ||
currentTarget : Object [solo lectura]
Objeto que procesa de forma activa el objeto de evento con un detector de eventos. | Event | ||
eventPhase : 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 | ||
target : Object [solo lectura]
El destino del evento. | Event | ||
type : String [solo lectura]
El tipo de evento. | Event |
Método | Definido 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 | ||
Duplica una instancia de la subclase Event. | Event | ||
Una función de utilidad para implementar el método toString() en las clases Event personalizadas de ActionScript 3.0. | Event | ||
Indica si un objeto tiene definida una propiedad especificada. | Object | ||
Comprueba si se ha llamado a preventDefault() en el evento. | Event | ||
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | ||
Cancela el comportamiento predeterminado de un evento si es posible cancelarlo. | Event | ||
Indica si existe la propiedad especificada y si es enumerable. | Object | ||
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | ||
Impide el proceso de cualquier detector de eventos en el nodo actual y los nodos siguientes en el flujo del evento. | Event | ||
Impide el proceso de cualquier detector de eventos en nodos siguientes al nodo actual. | Event | ||
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | ||
Devuelve una cadena que contiene todas las propiedades del objeto de evento. | Event | ||
Devuelve el valor simple del objeto especificado. | Object |
Constante | Definido 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 |
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.
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ámetrostype: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 )
|
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:
Property | Value |
---|---|
args | Array of arguments to the method. |
automationObject | Delegate of the UIComponent that is dispatching the interaction. |
bubbles | true |
cacheable | true if the event
should be saved in the event cache, and false if not. |
cancelable | true |
currentTarget | The 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 . |
methodName | A displayable Name of the operation |
replayableEvent | Underlying event that represents the interaction. |
target | The 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. |
Tue Jun 12 2018, 02:12 PM Z