Pacchetto | mx.automation.events |
Classe | public class AutomationRecordEvent |
Ereditarietà | AutomationRecordEvent Event Object |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Altri esempi
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 | ||
bubbles : 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 | ||
cancelable : Boolean [sola lettura]
Indica se il comportamento associato all'evento può essere impedito. | Event | ||
constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | ||
currentTarget : Object [sola lettura]
L'oggetto che elabora attivamente l'oggetto Event con un listener di eventi. | Event | ||
eventPhase : 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 | ||
target : Object [sola lettura]
Il target dell'evento. | Event | ||
type : String [sola lettura]
Il tipo di evento. | Event |
Metodo | Definito 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 | ||
Duplica un'istanza di una sottoclasse Event. | Event | ||
Una funzione dell'utilità per l'implementazione del metodo toString() in classi Event ActionScript 3.0 personalizzate. | Event | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
Verifica se sull'evento è stato chiamato il metodo preventDefault(). | Event | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | ||
Annulla il comportamento predefinito di un evento se tale comportamento può essere annullato. | Event | ||
Indica se la proprietà specificata esiste ed è enumerabile. | Object | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | ||
Impedisce l'elaborazione di tutti i listener di eventi nel nodo corrente e in tutti i nodi successivi del flusso di eventi. | Event | ||
Impedisce l'elaborazione di tutti i listener di eventi nei nodi del flusso di eventi successivi a quello corrente. | Event | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Restituisce una stringa che contiene tutte le proprietà dell'oggetto Event. | Event | ||
Restituisce il valore di base dell'oggetto specificato. | Object |
Costante | Definito 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 |
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.
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.
Parametritype: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 | 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:
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:44 PM Z