Pacote | mx.events |
Classe | public class AIREvent |
Herança | AIREvent Event Object |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | AIR 1.1 |
Elementos da API relacionados
Método | Definido por | ||
---|---|---|---|
Constructor. | AIREvent | ||
Duplica uma ocorrência de uma subclasse Event. | Event | ||
Uma função de utilitário para implementar o método toString() em classes ActionScript 3.0 Event personalizadas. | Event | ||
Indica se um objeto tem uma propriedade especificada definida. | Object | ||
Verifica se o método preventDefault() foi chamado no evento. | Event | ||
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | ||
Cancela um comportamento padrão de evento se esse comportamento puder ser cancelado. | Event | ||
Indica se a propriedade especificada existe e é enumerável. | Object | ||
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | ||
Impede o processamento de qualquer ouvinte de evento no nó atual e qualquer nó subsequente no fluxo de eventos. | Event | ||
Impede o processamento de algum ouvinte de evento em nós subsequentes ao nó atual no fluxo de eventos. | Event | ||
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | ||
Retorna uma string que contém todas as propriedades do objeto Event. | Event | ||
Retorna o valor primitivo do objeto especificado. | Object |
Constante | Definido por | ||
---|---|---|---|
APPLICATION_ACTIVATE : String = "applicationActivate" [estático]
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" [estático]
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" [estático]
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" [estático]
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" [estático]
The AIREvent.WINDOW_DEACTIVATE constant defines the value of the
type property of the event object for a
windowDeactivate event. | AIREvent |
AIREvent | () | Construtor |
public function AIREvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | AIR 1.1 |
Constructor.
Parâmetrostype: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 | Constante |
public static const APPLICATION_ACTIVATE:String = "applicationActivate"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de 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 | Constante |
public static const APPLICATION_DEACTIVATE:String = "applicationDeactivate"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de 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 | Constante |
public static const WINDOW_ACTIVATE:String = "windowActivate"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de 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 | Constante |
public static const WINDOW_COMPLETE:String = "windowComplete"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de 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 | Constante |
public static const WINDOW_DEACTIVATE:String = "windowDeactivate"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de 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 |
Wed Jun 13 2018, 11:10 AM Z