Referencia de ActionScript® 3.0 para la plataforma de Adobe® Flash®
Inicio  |  Ocultar lista de paquetes y clases |  Paquetes  |  Clases  |  Novedades  |  Índice  |  Apéndices  |  ¿Por qué hay texto en inglés?
Filtros: Recuperando datos del servidor...
Recuperando datos del servidor...
mx.automation.events 

ListItemSelectEvent  - AS3 Flex

Paquetemx.automation.events
Clasepublic class ListItemSelectEvent
HerenciaListItemSelectEvent Inheritance Event Inheritance 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

The ListItemSelectEvent class represents event objects that are dispatched when an item in a list-based control such as a Menu, DataGrid, or Tree control is selected or deselected.

Más ejemplos



Propiedades públicas
 PropiedadDefinido por
  altKey : Boolean
Indicates whether the Alt key was pressed at the time of the event, true, or not, false.
ListItemSelectEvent
 Inheritedbubbles : Boolean
[solo lectura] Indica si un evento es un evento de propagación.
Event
 Inheritedcancelable : Boolean
[solo lectura] Indica si se puede evitar el comportamiento asociado al evento.
Event
 Inheritedconstructor : 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
 InheritedcurrentTarget : Object
[solo lectura] Objeto que procesa de forma activa el objeto de evento con un detector de eventos.
Event
 InheritedeventPhase : 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
 Inheritedtarget : 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
 Inheritedtype : String
[solo lectura] El tipo de evento.
Event
Métodos públicos
 MétodoDefinido 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
 Inherited
Duplica una instancia de la subclase Event.
Event
 Inherited
formatToString(className:String, ... arguments):String
Una función de utilidad para implementar el método toString() en las clases Event personalizadas de ActionScript 3.0.
Event
 Inherited
Indica si un objeto tiene definida una propiedad especificada.
Object
 Inherited
Comprueba si se ha llamado a preventDefault() en el evento.
Event
 Inherited
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro.
Object
 Inherited
Cancela el comportamiento predeterminado de un evento si es posible cancelarlo.
Event
 Inherited
Indica si existe la propiedad especificada y si es enumerable.
Object
 Inherited
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle.
Object
 Inherited
Impide el proceso de cualquier detector de eventos en el nodo actual y los nodos siguientes en el flujo del evento.
Event
 Inherited
Impide el proceso de cualquier detector de eventos en nodos siguientes al nodo actual.
Event
 Inherited
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional.
Object
 Inherited
Devuelve una cadena que contiene todas las propiedades del objeto de evento.
Event
 Inherited
Devuelve el valor simple del objeto especificado.
Object
Constantes públicas
 ConstanteDefinido 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
Información sobre propiedades

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.

Información sobre constructores

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ámetros
type: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.
Información sobre constantes

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.

PropertyValue
altKeyBoolean value indicating whether the Alt key was pressed at the time of the event.
bubblesfalse
cancelablefalse
ctrlKeyBoolean value indicating whether the Ctrl key was pressed at the time of the event.
currentTargetThe 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.
itemRendererThe item renderer object for the item.
shiftKeyBoolean value indicating whether the Shift key was pressed at the time of the event.
targetThe 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.
triggerEventThe event, such as a mouse or keyboard event, that triggered the action.
typeListItemSelectEvent.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.

PropertyValue
altKeyBoolean value indicating whether the Alt key was pressed at the time of the event.
bubblesfalse
cancelablefalse
ctrlKeyBoolean value indicating whether the Ctrl key was pressed at the time of the event.
currentTargetThe 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.
itemRendererThe item renderer object for the item.
shiftKeyBoolean value indicating whether the Shift key was pressed at the time of the event.
targetThe 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.
triggerEventThe event, such as a mouse or keyboard event, that triggered the action.
typeListItemSelectEvent.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.

PropertyValue
altKeyBoolean value indicating whether the Alt key was pressed at the time of the event.
bubblesfalse
cancelablefalse
ctrlKeyBoolean value indicating whether the Ctrl key was pressed at the time of the event.
currentTargetThe 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.
itemRendererThe item renderer object for the item.
shiftKeyBoolean value indicating whether the Shift key was pressed at the time of the event.
targetThe 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.
triggerEventThe event, such as a mouse or keyboard event, that triggered the action.
typeListItemSelectEvent.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.

PropertyValue
altKeyBoolean value indicating whether the Alt key was pressed at the time of the event.
bubblesfalse
cancelablefalse
ctrlKeyBoolean value indicating whether the Ctrl key was pressed at the time of the event.
currentTargetThe 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.
itemIndexThe data provider index of the item to be selected.
shiftKeyBoolean value indicating whether the Shift key was pressed at the time of the event.
targetThe 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.
triggerEventThe event, such as a mouse or keyboard event, that triggered the action.
typeListItemSelectEvent.SELECT_INDEX





[ X ]¿Por qué hay texto en inglés?
Cierto contenido de la Referencia de ActionScript 3.0 se muestra en inglés

No todo el contenido de la Referencia de ActionScript 3.0 se traduce a todos los idiomas. Si un elemento del lenguaje no se traduce, aparecerá en inglés. Por ejemplo, la clase ga.controls.HelpBox no está traducida en ningún idioma. Por lo tanto, en la versión en español de la referencia, la clase ga.controls.HelpBox aparecerá en inglés.