Pacchetto | mx.events |
Classe | public class AIREvent |
Ereditarietà | AIREvent Event Object |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | AIR 1.1 |
Elementi API correlati
Metodo | Definito da | ||
---|---|---|---|
Constructor. | AIREvent | ||
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 | ||
---|---|---|---|
APPLICATION_ACTIVATE : String = "applicationActivate" [statico]
The AIREvent.APPLICATION_ACTIVATE constant defines the value of the
type property of the event object for an
applicationActivate event. | AIREvent | ||
APPLICATION_DEACTIVATE : String = "applicationDeactivate" [statico]
The AIREvent.APPLICATION_DEACTIVATE constant defines the value of the
type property of the event object for an
applicationDeactivate event. | AIREvent | ||
WINDOW_ACTIVATE : String = "windowActivate" [statico]
The AIREvent.WINDOW_ACTIVATE constant defines the value of the
type property of the event object for a
windowActivate event. | AIREvent | ||
WINDOW_COMPLETE : String = "windowComplete" [statico]
The AIREvent.WINDOW_COMPLETE constant defines the value of the
type property of the event object for an
windowComplete event. | AIREvent | ||
WINDOW_DEACTIVATE : String = "windowDeactivate" [statico]
The AIREvent.WINDOW_DEACTIVATE constant defines the value of the
type property of the event object for a
windowDeactivate event. | AIREvent |
AIREvent | () | Funzione di costruzione |
public function AIREvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | AIR 1.1 |
Constructor.
Parametritype:String — The event type; indicates the action that caused the event.
| |
bubbles:Boolean (default = false ) — Specifies whether the event can bubble up
the display list hierarchy.
| |
cancelable:Boolean (default = false ) — Specifies whether the behavior
associated with the event can be prevented.
|
APPLICATION_ACTIVATE | Costante |
public static const APPLICATION_ACTIVATE:String = "applicationActivate"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | AIR 1.1 |
The AIREvent.APPLICATION_ACTIVATE constant defines the value of the
type
property of the event object for an
applicationActivate
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
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 . |
file | The File object associated with this event. |
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. |
type | AIREvent.APPLICATION_ACTIVATE |
APPLICATION_DEACTIVATE | Costante |
public static const APPLICATION_DEACTIVATE:String = "applicationDeactivate"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | AIR 1.1 |
The AIREvent.APPLICATION_DEACTIVATE constant defines the value of the
type
property of the event object for an
applicationDeactivate
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
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 . |
file | The File object associated with this event. |
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. |
type | AIREvent.APPLICATION_DEACTIVATE |
WINDOW_ACTIVATE | Costante |
public static const WINDOW_ACTIVATE:String = "windowActivate"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | AIR 1.1 |
The AIREvent.WINDOW_ACTIVATE constant defines the value of the
type
property of the event object for a
windowActivate
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
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 . |
file | The File object associated with this event. |
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. |
type | AIREvent.WINDOW_ACTIVATE |
WINDOW_COMPLETE | Costante |
public static const WINDOW_COMPLETE:String = "windowComplete"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | AIR 1.1 |
The AIREvent.WINDOW_COMPLETE constant defines the value of the
type
property of the event object for an
windowComplete
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
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 . |
file | The File object associated with this event. |
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. |
type | AIREvent.WINDOW_COMPLETE |
WINDOW_DEACTIVATE | Costante |
public static const WINDOW_DEACTIVATE:String = "windowDeactivate"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | AIR 1.1 |
The AIREvent.WINDOW_DEACTIVATE constant defines the value of the
type
property of the event object for a
windowDeactivate
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
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 . |
file | The File object associated with this event. |
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. |
type | AIREvent.WINDOW_DEACTIVATE |
Tue Jun 12 2018, 02:44 PM Z