| Pacchetto | mx.automation.events |
| Classe | public class EventDetails |
| Ereditarietà | EventDetails Object |
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Altri esempi
Proprietà pubbliche
| Proprietà | Definito da | ||
|---|---|---|---|
![]() | constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | |
| eventType : String
Type of the event
| EventDetails | ||
| handlerFunction : Function
Handler function that processes the event
| EventDetails | ||
| priority : int
The priority level of the event listener. | EventDetails | ||
| useCapture : Boolean
Determines whether the listener works in the capture phase or the target and bubbling phases. | EventDetails | ||
| useWeekRef : Boolean
Determines whether the reference to the listener is strong or weak. | EventDetails | ||
Metodi pubblici
| Metodo | Definito da | ||
|---|---|---|---|
EventDetails(type:String, handler:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false)
Constructor
| EventDetails | ||
![]() |
Indica se per un oggetto è definita una proprietà specifica. | Object | |
![]() |
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | |
![]() |
Indica se la proprietà specificata esiste ed è enumerabile. | Object | |
![]() |
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | |
![]() |
Restituisce il valore di base dell'oggetto specificato. | Object | |
Descrizione delle proprietà
eventType | proprietà |
public var eventType:String| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Type of the event
handlerFunction | proprietà |
public var handlerFunction:Function| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Handler function that processes the event
priority | proprietà |
public var priority:int| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
The priority level of the event listener.
Il valore predefinito è 0.
useCapture | proprietà |
public var useCapture:Boolean| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Determines whether the listener works in the capture phase or the target and bubbling phases.
Il valore predefinito è false.
useWeekRef | proprietà |
public var useWeekRef:Boolean| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Determines whether the reference to the listener is strong or weak. strong reference (the default) prevents your listener from being garbage-collected. weak reference does not.
Il valore predefinito è false.
Descrizione della funzione di costruzione
EventDetails | () | Funzione di costruzione |
public function EventDetails(type:String, handler:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false)| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Constructor
Parametritype:String — The event type; indicates the action that caused the event.
| |
handler:Function — Handler function that processes the event.
| |
useCapture:Boolean (default = false) — Determines whether the listener works in the capture phase or the target and bubbling phases.
| |
priority:int (default = 0) — The priority level of the event listener.
| |
useWeakReference:Boolean (default = false) — Determines whether the reference to the listener is strong or weak.
strong reference (the default) prevents your listener from being garbage-collected.
weak reference does not.
|
Tue Jun 12 2018, 02:44 PM Z
Nascondi proprietà pubbliche ereditate
Mostra proprietà pubbliche ereditate