ActionScript® 3.0 — dokumentacja dla platformy Adobe® Flash®
Strona główna  |  Ukryj listę pakietów i klas |  Pakiety  |  Klasy  |  Nowości  |  Indeks  |  Dodatki  |  Dlaczego język angielski?
Filtry: Pobieranie danych z serwera...
Pobieranie danych z serwera...
mx.automation.events 

ListItemSelectEvent  - AS3 Flex

Pakietmx.automation.events
Klasapublic class ListItemSelectEvent
DziedziczenieListItemSelectEvent Inheritance Event Inheritance Object

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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.



Właściwości publiczne
 WłaściwośćZdefiniowane przez
  altKey : Boolean
Indicates whether the Alt key was pressed at the time of the event, true, or not, false.
ListItemSelectEvent
 Inheritedbubbles : Boolean
[tylko do odczytu] Określa, czy zdarzenie może przechodzić fazę propagacji.
Event
 Inheritedcancelable : Boolean
[tylko do odczytu] Wskazuje, czy można uniemożliwić operacje skojarzone ze zdarzeniem.
Event
 Inheritedconstructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu.
Object
  ctrlKey : Boolean
Indicates whether the Ctrl key was pressed at the time of the event, true, or not, false.
ListItemSelectEvent
 InheritedcurrentTarget : Object
[tylko do odczytu] Obiekt przetwarzający aktywnie obiekt Event za pomocą detektora zdarzeń.
Event
 InheritedeventPhase : uint
[tylko do odczytu] Bieżąca faza przepływu zdarzeń.
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
[tylko do odczytu] Miejsce docelowe zdarzenia.
Event
  triggerEvent : Event
Event that triggered the item selection event, such as a keyboard or mouse event.
ListItemSelectEvent
 Inheritedtype : String
[tylko do odczytu] Typ zdarzenia.
Event
Metody publiczne
 MetodaZdefiniowane przez
  
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
Powiela instancję podklasy Event.
Event
 Inherited
formatToString(className:String, ... arguments):String
Funkcja narzędziowa umożliwiająca implementację metody toString() w niestandardowych klasach Event w języku ActionScript 3.0.
Event
 Inherited
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość.
Object
 Inherited
Sprawdza, czy w odniesieniu do tego zdarzenia wywołano metodę preventDefault().
Event
 Inherited
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr.
Object
 Inherited
Anuluje domyślne ustawienia zdarzenia, o ile zachowanie to może być anulowane.
Event
 Inherited
Wskazuje, czy określona właściwość istnieje i jest przeliczalna.
Object
 Inherited
Ustawia dostępność właściwości dynamicznej używanej w pętlach.
Object
 Inherited
Zapobiega przetwarzaniu wszelkich detektorów zdarzeń w węźle bieżącym i węzłach następujących po nim.
Event
 Inherited
Zapobiega przetwarzaniu wszelkich detektorów zdarzeń w węzłach następujących po węźle bieżącym w przepływie zdarzeń.
Event
 Inherited
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych.
Object
 Inherited
Zwraca ciąg znaków, który zawiera wszystkie właściwości obiektu Event.
Event
 Inherited
Zwraca pierwotną wartość dla określonego obiektu.
Object
Stałe publiczne
 StałaZdefiniowane przez
  DESELECT : String = "deselect"
[statyczny] 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"
[statyczny] 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"
[statyczny] 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"
[statyczny] 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
Szczegół właściwości

altKey

właściwość
public var altKey:Boolean

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Indicates whether the Alt key was pressed at the time of the event, true, or not, false.

Wartością domyślną jest false.

ctrlKey

właściwość 
public var ctrlKey:Boolean

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Indicates whether the Ctrl key was pressed at the time of the event, true, or not, false.

Wartością domyślną jest false.

itemAutomationValue

właściwość 
public var itemAutomationValue:String

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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

właściwość 
public var itemIndex:uint

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

The data provider index of the item to be selected.

itemRenderer

właściwość 
public var itemRenderer:IListItemRenderer

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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.

Wartością domyślną jest null.

shiftKey

właściwość 
public var shiftKey:Boolean

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Indicates whether the Shift key was pressed at the time of the event, true, or not, false.

Wartością domyślną jest false.

triggerEvent

właściwość 
public var triggerEvent:Event

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Event that triggered the item selection event, such as a keyboard or mouse event.

Wartością domyślną jest null.

Konstruktor Szczegół

ListItemSelectEvent

()Konstruktor
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)

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Constructor. Normally called by the Flex control and not used in application code.

Parametry
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.
Szczegół stałej

DESELECT

Stała
public static const DESELECT:String = "deselect"

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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

Stała 
public static const MULTI_SELECT:String = "multiSelect"

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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

Stała 
public static const SELECT:String = "select"

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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

Stała 
public static const SELECT_INDEX:String = "selectIndex"

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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 ]Dlaczego język angielski?
Treść dokumentacji języka ActionScript 3.0 wyświetlana w języku angielskim

Niektóre części dokumentacji języka ActionScript 3.0 nie są przetłumaczone na poszczególne języki. Gdy element nie jest przetłumaczony na dany język, jest wyświetlany tekst angielski. Na przykład opis klasy ga.controls.HelpBox nie jest przetłumaczony na żaden dodatkowy język. Z tego powodu polska wersja dokumentacji zawiera opis klasy ga.controls.HelpBox w języku angielskim.