| Paket | mx.automation.events |
| Klass | public class AutomationEvent |
| Arv | AutomationEvent Event Object |
| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Fler exempel
Publika egenskaper
Publika metoder
| Metod | Definieras med | ||
|---|---|---|---|
Constructor. | AutomationEvent | ||
![]() |
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 | |
Publika konstanter
| Konstant | Definieras med | ||
|---|---|---|---|
| BEGIN_RECORD : String = "beginRecord" [statisk]
The AutomationEvent.BEGIN_RECORD constant defines the value of the
type property of the event object for a beginRecord event. | AutomationEvent | ||
| END_RECORD : String = "endRecord" [statisk]
The AutomationEvent.BEGIN_RECORD constant defines the value of the
type property of the event object for a endRecord event. | AutomationEvent | ||
Konstruktordetaljer
AutomationEvent | () | Konstruktor |
public function AutomationEvent(type:String = "beginRecord", bubbles:Boolean = true, cancelable:Boolean = true)| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Constructor.
Parametrartype:String (default = "beginRecord") — 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.
|
Konstantdetaljer
BEGIN_RECORD | Konstant |
public static const BEGIN_RECORD:String = "beginRecord"| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The AutomationEvent.BEGIN_RECORD constant defines the value of the
type property of the event object for a beginRecord event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
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. |
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. |
END_RECORD | Konstant |
public static const END_RECORD:String = "endRecord"| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The AutomationEvent.BEGIN_RECORD constant defines the value of the
type property of the event object for a endRecord event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
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. |
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
Dölj ärvda publika egenskaper
Visa ärvda publika egenskaper