| Pacote | spark.events |
| Classe | public class GridCaretEvent |
| Herança | GridCaretEvent Event Object |
| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | Flash Player 10, AIR 2.5 |
Elementos da API relacionados
| Propriedade | Definido por | ||
|---|---|---|---|
![]() | bubbles : Boolean [somente leitura]
Indica se um evento é do tipo bubbling. | Event | |
![]() | cancelable : Boolean [somente leitura]
Indica se o comportamento associado ao evento pode ser impedido. | Event | |
![]() | constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | Object | |
![]() | currentTarget : Object [somente leitura]
O objeto que está processando ativamente o objeto Event com um ouvinte de evento. | Event | |
![]() | eventPhase : uint [somente leitura]
A fase atual no fluxo de eventos. | Event | |
| newColumnIndex : int
The zero-based index of the column of the
caret position after it was changed. | GridCaretEvent | ||
| newRowIndex : int
The zero-based index of the row of the
caret position after it was changed. | GridCaretEvent | ||
| oldColumnIndex : int
The zero-based index of the column of the
caret position before it was changed. | GridCaretEvent | ||
| oldRowIndex : int
The zero-based index of the row of the
caret position before it was changed. | GridCaretEvent | ||
![]() | target : Object [somente leitura]
O destino de evento. | Event | |
![]() | type : String [somente leitura]
O tipo de evento. | Event | |
| Método | Definido por | ||
|---|---|---|---|
GridCaretEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, oldRowIndex:int = -1, oldColumnIndex:int = -1, newRowIndex:int = -1, newColumnIndex:int = -1)
Constructor. | GridCaretEvent | ||
![]() |
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 | ||
|---|---|---|---|
| CARET_CHANGE : String = "caretChange" [estático]
The GridSelectionEvent.CARET_CHANGE constant defines
the value of the type property of the event object for a
caretChange event, which indicates that the current
caret position has just been changed. | GridCaretEvent | ||
newColumnIndex | propriedade |
public var newColumnIndex:int| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | Flash Player 10, AIR 2.5 |
The zero-based index of the column of the caret position after it was changed.
If the selectionMode is SelectionMode.SINGLE_ROW or
SelectionMode.MULTIPLE_ROWS this will be -1 to indicate
it is not being used.
Elementos da API relacionados
newRowIndex | propriedade |
public var newRowIndex:int| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | Flash Player 10, AIR 2.5 |
The zero-based index of the row of the caret position after it was changed.
Elementos da API relacionados
oldColumnIndex | propriedade |
public var oldColumnIndex:int| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | Flash Player 10, AIR 2.5 |
The zero-based index of the column of the caret position before it was changed.
If the selectionMode is SelectionMode.SINGLE_ROW or
SelectionMode.MULTIPLE_ROWS, this valueis -1 to indicate
it is not being used.
Elementos da API relacionados
oldRowIndex | propriedade |
public var oldRowIndex:int| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | Flash Player 10, AIR 2.5 |
The zero-based index of the row of the caret position before it was changed.
O valor padrão é -1.
Elementos da API relacionados
GridCaretEvent | () | Construtor |
public function GridCaretEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, oldRowIndex:int = -1, oldColumnIndex:int = -1, newRowIndex:int = -1, newColumnIndex:int = -1)| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | Flash Player 10, AIR 2.5 |
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.
| |
oldRowIndex:int (default = -1) — The zero-based column index of the caret position
before the change. If the selectionMode is either
SelectionMode.SINGLE_ROW or
SelectionMode.MULTIPLE_ROWS, this is -1.
| |
oldColumnIndex:int (default = -1) — The zero-based row index of the caret position before
the change.
| |
newRowIndex:int (default = -1) — The zero-based column index of the caret position
after the change. If the selectionMode is either
SelectionMode.SINGLE_ROW or
SelectionMode.MULTIPLE_ROWS, this is -1.
| |
newColumnIndex:int (default = -1) — The zero-based row index of the caret position after
the change.
|
Elementos da API relacionados
CARET_CHANGE | Constante |
public static const CARET_CHANGE:String = "caretChange"| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | Flash Player 10, AIR 2.5 |
The GridSelectionEvent.CARET_CHANGE constant defines
the value of the type property of the event object for a
caretChange event, which indicates that the current
caret position has just been changed.
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. |
newColumnIndex | The zero-based column
index of the caret position after it was changed. It is -1 if
the selectionMode is row-based. |
newRowIndex | The zero-based row index of the caret position after it was changed. |
oldColumnIndex | The zero-based column
index of the caret position before it was changed. It is -1 if
the selectionMode is row-based. |
oldRowIndex | The zero-based row index of the caret position before it was changed. |
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 | GirdCaretEvent.CARET_CHANGE |
Wed Jun 13 2018, 11:10 AM Z
Ocultar propriedades públicas herdadas
Mostrar propriedades públicas herdadas