Paquete | spark.automation.events |
Clase | public class SparkListItemSelectEvent |
Herencia | SparkListItemSelectEvent Event Object |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.5 |
Propiedad | Definido por | ||
---|---|---|---|
altKey : Boolean
Indicates whether the Alt key was pressed at the time of the event, true,
or not, false. | SparkListItemSelectEvent | ||
bubbles : Boolean [solo lectura]
Indica si un evento es un evento de propagación. | Event | ||
cancelable : Boolean [solo lectura]
Indica si se puede evitar el comportamiento asociado al evento. | Event | ||
constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | ||
ctrlKey : Boolean
Indicates whether the Ctrl key was pressed at the time of the event, true,
or not, false. | SparkListItemSelectEvent | ||
currentTarget : Object [solo lectura]
Objeto que procesa de forma activa el objeto de evento con un detector de eventos. | Event | ||
eventPhase : uint [solo lectura]
La fase actual en el flujo del evento. | Event | ||
itemAutomationValue : String
The automationValue string of the item to be selected. | SparkListItemSelectEvent | ||
itemIndex : uint
The data provider index of the item to be selected. | SparkListItemSelectEvent | ||
itemRenderer : IItemRenderer
Item renderer object for the item being selected or deselected. | SparkListItemSelectEvent | ||
shiftKey : Boolean
Indicates whether the Shift key was pressed at the time of the event, true,
or not, false. | SparkListItemSelectEvent | ||
target : Object [solo lectura]
El destino del evento. | Event | ||
triggerEvent : Event
Event that triggered the item selection event,
such as a keyboard or mouse event. | SparkListItemSelectEvent | ||
type : String [solo lectura]
El tipo de evento. | Event |
Método | Definido por | ||
---|---|---|---|
SparkListItemSelectEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, itemRenderer:IItemRenderer = null, triggerEvent:Event = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false)
Constructor. | SparkListItemSelectEvent | ||
Duplica una instancia de la subclase Event. | Event | ||
Una función de utilidad para implementar el método toString() en las clases Event personalizadas de ActionScript 3.0. | Event | ||
Indica si un objeto tiene definida una propiedad especificada. | Object | ||
Comprueba si se ha llamado a preventDefault() en el evento. | Event | ||
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | ||
Cancela el comportamiento predeterminado de un evento si es posible cancelarlo. | Event | ||
Indica si existe la propiedad especificada y si es enumerable. | Object | ||
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | ||
Impide el proceso de cualquier detector de eventos en el nodo actual y los nodos siguientes en el flujo del evento. | Event | ||
Impide el proceso de cualquier detector de eventos en nodos siguientes al nodo actual. | Event | ||
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | ||
Devuelve una cadena que contiene todas las propiedades del objeto de evento. | Event | ||
Devuelve el valor simple del objeto especificado. | Object |
Constante | Definido por | ||
---|---|---|---|
SELECT : String = "select" [estática]
The SparkListItemSelectEvent.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. | SparkListItemSelectEvent | ||
SELECT_INDEX : String = "selectIndex" [estática]
The SparkListItemSelectEvent.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. | SparkListItemSelectEvent |
altKey | propiedad |
public var altKey:Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.5 |
Indicates whether the Alt key was pressed at the time of the event, true
,
or not, false
.
El valor predeterminado es false.
ctrlKey | propiedad |
public var ctrlKey:Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.5 |
Indicates whether the Ctrl key was pressed at the time of the event, true
,
or not, false
.
El valor predeterminado es false.
itemAutomationValue | propiedad |
public var itemAutomationValue:String
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4 |
Versiones de motor de ejecución: | 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 | propiedad |
public var itemIndex:uint
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.5 |
The data provider index of the item to be selected.
itemRenderer | propiedad |
public var itemRenderer:IItemRenderer
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4 |
Versiones de motor de ejecución: | 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.
El valor predeterminado es null.
shiftKey | propiedad |
public var shiftKey:Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.5 |
Indicates whether the Shift key was pressed at the time of the event, true
,
or not, false
.
El valor predeterminado es false.
triggerEvent | propiedad |
public var triggerEvent:Event
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.5 |
Event that triggered the item selection event, such as a keyboard or mouse event.
El valor predeterminado es null.
SparkListItemSelectEvent | () | Información sobre |
public function SparkListItemSelectEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, itemRenderer:IItemRenderer = null, triggerEvent:Event = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false)
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4 |
Versiones de motor de ejecución: | 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:IItemRenderer (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"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.5 |
The SparkListItemSelectEvent.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"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.5 |
The SparkListItemSelectEvent.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 |
Tue Jun 12 2018, 02:12 PM Z