Paquete | mx.automation.events |
Clase | public class ListItemSelectEvent |
Herencia | ListItemSelectEvent Event Object |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Más ejemplos
Propiedad | Definido por | ||
---|---|---|---|
altKey : Boolean
Indicates whether the Alt key was pressed at the time of the event, true,
or not, false. | ListItemSelectEvent | ||
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. | ListItemSelectEvent | ||
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. | ListItemSelectEvent | ||
itemIndex : uint
The data provider index of the item to be selected. | ListItemSelectEvent | ||
itemRenderer : IListItemRenderer
Item renderer object for the item being selected or deselected. | ListItemSelectEvent | ||
shiftKey : Boolean
Indicates whether the Shift key was pressed at the time of the event, true,
or not, false. | ListItemSelectEvent | ||
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. | ListItemSelectEvent | ||
type : String [solo lectura]
El tipo de evento. | Event |
Método | Definido por | ||
---|---|---|---|
ListItemSelectEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, itemRenderer:IListItemRenderer = null, triggerEvent:Event = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false)
Constructor. | ListItemSelectEvent | ||
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 | ||
---|---|---|---|
DESELECT : String = "deselect" [estática]
The ListItemSelectEvent.DESELECT constant defines the value of the
type property of the event object for an event that is
dispatched when a previously selected item is deselected. | ListItemSelectEvent | ||
MULTI_SELECT : String = "multiSelect" [estática]
The ListItemSelectEvent.MULTI_SELECT constant defines the value of the
type property of the event object for an event that is
dispatched when an item is selected as part of an
action that selects multiple items. | ListItemSelectEvent | ||
SELECT : String = "select" [estática]
The ListItemSelectEvent.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. | ListItemSelectEvent | ||
SELECT_INDEX : String = "selectIndex" [estática]
The ListItemSelectEvent.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. | ListItemSelectEvent |
altKey | propiedad |
public var altKey:Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
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 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
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 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
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 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The data provider index of the item to be selected.
itemRenderer | propiedad |
public var itemRenderer:IListItemRenderer
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
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 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
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 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Event that triggered the item selection event, such as a keyboard or mouse event.
El valor predeterminado es null.
ListItemSelectEvent | () | Información sobre |
public function ListItemSelectEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, itemRenderer:IListItemRenderer = 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 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
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:IListItemRenderer (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.
|
DESELECT | Constante |
public static const DESELECT:String = "deselect"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The ListItemSelectEvent.DESELECT
constant defines the value of the
type
property of the event object for an event that is
dispatched when a previously selected item is deselected.
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 | ListItemSelectEvent.DESELECT |
MULTI_SELECT | Constante |
public static const MULTI_SELECT:String = "multiSelect"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The ListItemSelectEvent.MULTI_SELECT
constant defines the value of the
type
property of the event object for an event that is
dispatched when an item is selected as part of an
action that selects multiple items.
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 | ListItemSelectEvent.MULTI_SELECT |
SELECT | Constante |
public static const SELECT:String = "select"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The ListItemSelectEvent.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 | ListItemSelectEvent.SELECT |
SELECT_INDEX | Constante |
public static const SELECT_INDEX:String = "selectIndex"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The ListItemSelectEvent.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 | ListItemSelectEvent.SELECT_INDEX |
Tue Jun 12 2018, 02:12 PM Z