Paket | mx.automation.events |
Klass | public class AutomationRecordEvent |
Arv | AutomationRecordEvent Event Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Fler exempel
Egenskap | Definieras med | ||
---|---|---|---|
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 [skrivskyddad]
indikerar om händelsen är en bubblande händelse. | Event | ||
cacheable : Boolean
Contains true if this is a cacheable event, and false if not. | AutomationRecordEvent | ||
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 | ||
eventPhase : uint [skrivskyddad]
Den nuvarande fasen i händelseflödet. | 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 [skrivskyddad]
Händelsens mål. | Event | ||
type : String [skrivskyddad]
Händelsens typ. | Event |
Metod | Definieras med | ||
---|---|---|---|
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 | ||
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 | ||
---|---|---|---|
CUSTOM_RECORD : String = "customRecord" [statisk]
refer recordCustomAutomationEvent in IAutomationManager for the usage of this constant
| AutomationRecordEvent | ||
RECORD : String = "record" [statisk]
The AutomationRecordEvent.RECORD constant defines the value of the
type property of the event object for a record event. | AutomationRecordEvent |
args | egenskap |
public var args:Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
A serialized representation of the event as an Array of it's property values.
automationObject | egenskap |
public var automationObject:IAutomationObject
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The delegate of the UIComponent object that is recording this event.
cacheable | egenskap |
public var cacheable:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Contains true
if this is a cacheable event, and false
if not.
name | egenskap |
public var name:String
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The automation event name.
recordTriggeredByCustomHandling | egenskap |
public var recordTriggeredByCustomHandling:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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 | egenskap |
public var replayableEvent:Event
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The underlying interaction.
AutomationRecordEvent | () | Konstruktor |
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)
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Constructor.
Parametrartype: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 | Konstant |
public static const CUSTOM_RECORD:String = "customRecord"
refer recordCustomAutomationEvent in IAutomationManager for the usage of this constant
RECORD | Konstant |
public static const RECORD:String = "record"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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, 01:40 PM Z