Referência do ActionScript® 3.0 para Adobe® Flash® Platform
Início  |  Ocultar listas de Pacotes e Classes |  Pacotes  |  Classes  |  Novidades  |  Índice  |  Apêndices  |  Por que inglês?
Filtros: Recuperando dados do servidor...
Recuperando dados do servidor...
mx.events 

CollectionEventKind  - AS3 Flex

Pacotemx.events
Classepublic final class CollectionEventKind
HerançaCollectionEventKind Inheritance Object

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

The CollectionEventKind class contains constants for the valid values of the mx.events.CollectionEvent class kind property. These constants indicate the kind of change that was made to the collection.

Elementos da API relacionados



Propriedades públicas
 PropriedadeDefinido por
 Inheritedconstructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto.
Object
Métodos públicos
 MétodoDefinido por
 Inherited
Indica se um objeto tem uma propriedade especificada definida.
Object
 Inherited
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro.
Object
 Inherited
Indica se a propriedade especificada existe e é enumerável.
Object
 Inherited
Define a disponibilidade de uma propriedade dinâmica para operações de repetição.
Object
 Inherited
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade.
Object
 Inherited
Retorna a representação de string do objeto especificado.
Object
 Inherited
Retorna o valor primitivo do objeto especificado.
Object
Constantes públicas
 ConstanteDefinido por
  ADD : String = "add"
[estático] Indicates that the collection added an item or items.
CollectionEventKind
  MOVE : String = "move"
[estático] Indicates that the item has moved from the position identified by the CollectionEvent oldLocation property to the position identified by the location property.
CollectionEventKind
  REFRESH : String = "refresh"
[estático] Indicates that the collection applied a sort, a filter, or both.
CollectionEventKind
  REMOVE : String = "remove"
[estático] Indicates that the collection removed an item or items.
CollectionEventKind
  REPLACE : String = "replace"
[estático] Indicates that the item at the position identified by the CollectionEvent location property has been replaced.
CollectionEventKind
  RESET : String = "reset"
[estático] Indicates that the collection has changed so drastically that a reset is required.
CollectionEventKind
  UPDATE : String = "update"
[estático] Indicates that one or more items were updated within the collection.
CollectionEventKind
Detalhes da constante

ADD

Constante
public static const ADD:String = "add"

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Indicates that the collection added an item or items.

MOVE

Constante 
public static const MOVE:String = "move"

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Indicates that the item has moved from the position identified by the CollectionEvent oldLocation property to the position identified by the location property.

REFRESH

Constante 
public static const REFRESH:String = "refresh"

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Indicates that the collection applied a sort, a filter, or both. This change can potentially be easier to handle than a RESET.

REMOVE

Constante 
public static const REMOVE:String = "remove"

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Indicates that the collection removed an item or items.

REPLACE

Constante 
public static const REPLACE:String = "replace"

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Indicates that the item at the position identified by the CollectionEvent location property has been replaced.

RESET

Constante 
public static const RESET:String = "reset"

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Indicates that the collection has changed so drastically that a reset is required.

UPDATE

Constante 
public static const UPDATE:String = "update"

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Indicates that one or more items were updated within the collection. The affected item(s) are stored in the items property.





[ X ]Por que inglês?
O conteúdo na Referência do ActionScript 3.0 aparece em inglês

Nem todas as partes da Referência do ActionScript 3.0 estão traduzidas em todos os idiomas. Quando um elemento de um idioma não está traduzido, ele é exibido em inglês. Por exemplo, a classe ga.controls.HelpBox não está traduzida em nenhum idioma. Por isso, na versão da referência em português do Brasil, a classe ga.controls.HelpBox é exibida em inglês.