Pacote | spark.automation.events |
Classe | public class SparkDataGridItemSelectEvent |
Herança | SparkDataGridItemSelectEvent Event Object |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4 |
Versões de runtime: | Flash Player 9, AIR 1.5 |
Propriedade | Definido por | ||
---|---|---|---|
altKey : Boolean
Indicates whether the Alt key was pressed at the time of the event, true,
or not, false. | SparkDataGridItemSelectEvent | ||
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 | ||
ctrlKey : Boolean
Indicates whether the Ctrl key was pressed at the time of the event, true,
or not, false. | SparkDataGridItemSelectEvent | ||
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 | ||
itemAutomationValue : String
The automationValue string of the item to be selected. | SparkDataGridItemSelectEvent | ||
itemIndex : uint
The data provider index of the item to be selected. | SparkDataGridItemSelectEvent | ||
itemRenderer : IGridItemRenderer
Item renderer object for the item being selected or deselected. | SparkDataGridItemSelectEvent | ||
shiftKey : Boolean
Indicates whether the Shift key was pressed at the time of the event, true,
or not, false. | SparkDataGridItemSelectEvent | ||
target : Object [somente leitura]
O destino de evento. | Event | ||
triggerEvent : Event
Event that triggered the item selection event,
such as a keyboard or mouse event. | SparkDataGridItemSelectEvent | ||
type : String [somente leitura]
O tipo de evento. | Event |
Método | Definido por | ||
---|---|---|---|
SparkDataGridItemSelectEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, itemRenderer:IGridItemRenderer = null, triggerEvent:Event = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false)
Constructor. | SparkDataGridItemSelectEvent | ||
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 | ||
---|---|---|---|
SELECT : String = "select" [estático]
The SparkDataGridItemSelectEvent.SELECT constant defines the value of the
type property of the event object for an event that is
dispatched when a single item is selected. | SparkDataGridItemSelectEvent | ||
SELECT_INDEX : String = "selectIndex" [estático]
The SparkDataGridItemSelectEvent.SELECT_INDEX constant defines the value of the
type property of the event object for an event that is
dispatched when an item's index is selected. | SparkDataGridItemSelectEvent |
altKey | propriedade |
public var altKey:Boolean
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4 |
Versões de runtime: | Flash Player 9, AIR 1.5 |
Indicates whether the Alt key was pressed at the time of the event, true
,
or not, false
.
O valor padrão é false.
ctrlKey | propriedade |
public var ctrlKey:Boolean
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4 |
Versões de runtime: | Flash Player 9, AIR 1.5 |
Indicates whether the Ctrl key was pressed at the time of the event, true
,
or not, false
.
O valor padrão é false.
itemAutomationValue | propriedade |
public var itemAutomationValue:String
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4 |
Versões de runtime: | Flash Player 9, AIR 1.5 |
The automationValue string of the item to be selected. This is used when the item to be selected is not visible in the control.
itemIndex | propriedade |
public var itemIndex:uint
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4 |
Versões de runtime: | Flash Player 9, AIR 1.5 |
The data provider index of the item to be selected.
itemRenderer | propriedade |
public var itemRenderer:IGridItemRenderer
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4 |
Versões de runtime: | Flash Player 9, AIR 1.5 |
Item renderer object for the item being selected or deselected. You can access the cell data using this property.
O valor padrão é null.
shiftKey | propriedade |
public var shiftKey:Boolean
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4 |
Versões de runtime: | Flash Player 9, AIR 1.5 |
Indicates whether the Shift key was pressed at the time of the event, true
,
or not, false
.
O valor padrão é false.
triggerEvent | propriedade |
public var triggerEvent:Event
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4 |
Versões de runtime: | Flash Player 9, AIR 1.5 |
Event that triggered the item selection event, such as a keyboard or mouse event.
O valor padrão é null.
SparkDataGridItemSelectEvent | () | Construtor |
public function SparkDataGridItemSelectEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, itemRenderer:IGridItemRenderer = null, triggerEvent:Event = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false)
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4 |
Versões de runtime: | Flash Player 9, AIR 1.5 |
Constructor. Normally called by the Flex control and not used in application code.
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.
| |
itemRenderer:IGridItemRenderer (default = null ) — The item renderer object for the item.
| |
triggerEvent:Event (default = null ) — The event, such as a mouse or keyboard event, that
triggered the selection action.
| |
ctrlKey:Boolean (default = false ) — Whether the Alt key was pressed at the time of the event.
| |
altKey:Boolean (default = false ) — Whether the Ctrl key was pressed at the time of the event.
| |
shiftKey:Boolean (default = false ) — Whether the Shift key was pressed at the time of the event.
|
SELECT | Constante |
public static const SELECT:String = "select"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4 |
Versões de runtime: | Flash Player 9, AIR 1.5 |
The SparkDataGridItemSelectEvent.SELECT
constant defines the value of the
type
property of the event object for an event that is
dispatched when a single item is selected.
The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.
Property | Value |
---|---|
altKey | Boolean value indicating whether the Alt key was pressed at the time of the event. |
bubbles | false |
cancelable | false |
ctrlKey | Boolean value indicating whether the Ctrl key was pressed at the time of the event. |
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 . |
itemRenderer | The item renderer object for the item. |
shiftKey | Boolean value indicating whether the Shift key was pressed at the time of the 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. |
triggerEvent | The event, such as a mouse or keyboard event, that triggered the action. |
type | SparkListItemSelectEvent.SELECT |
SELECT_INDEX | Constante |
public static const SELECT_INDEX:String = "selectIndex"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4 |
Versões de runtime: | Flash Player 9, AIR 1.5 |
The SparkDataGridItemSelectEvent.SELECT_INDEX
constant defines the value of the
type
property of the event object for an event that is
dispatched when an item's index is selected.
The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.
Property | Value |
---|---|
altKey | Boolean value indicating whether the Alt key was pressed at the time of the event. |
bubbles | false |
cancelable | false |
ctrlKey | Boolean value indicating whether the Ctrl key was pressed at the time of the event. |
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 . |
itemIndex | The data provider index of the item to be selected. |
shiftKey | Boolean value indicating whether the Shift key was pressed at the time of the 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. |
triggerEvent | The event, such as a mouse or keyboard event, that triggered the action. |
type | SparkListItemSelectEvent.SELECT_INDEX |
Wed Jun 13 2018, 11:10 AM Z