Paket | spark.automation.events |
Klass | public class SparkListItemSelectEvent |
Arv | SparkListItemSelectEvent Event Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.5 |
Egenskap | Definieras med | ||
---|---|---|---|
altKey : Boolean
Indicates whether the Alt key was pressed at the time of the event, true,
or not, false. | SparkListItemSelectEvent | ||
bubbles : Boolean [skrivskyddad]
indikerar om händelsen är en bubblande händelse. | Event | ||
cancelable : Boolean [skrivskyddad]
Indikerar om beteendet som är kopplat till händelsen kan förhindras. | Event | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
ctrlKey : Boolean
Indicates whether the Ctrl key was pressed at the time of the event, true,
or not, false. | SparkListItemSelectEvent | ||
currentTarget : Object [skrivskyddad]
Det objekt som aktivt behandlar Event-objektet med en händelseavlyssnare. | Event | ||
eventPhase : uint [skrivskyddad]
Den nuvarande fasen i händelseflödet. | 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 [skrivskyddad]
Händelsens mål. | Event | ||
triggerEvent : Event
Event that triggered the item selection event,
such as a keyboard or mouse event. | SparkListItemSelectEvent | ||
type : String [skrivskyddad]
Händelsens typ. | Event |
Metod | Definieras med | ||
---|---|---|---|
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 | ||
Skapar ett duplikat av en instans av en Event-underklass. | Event | ||
Ett verktyg som används för att implementera metoden toString() i de anpassade klasserna ActionScript 3.0. | Event | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Kontrollerar om preventDefault()-metoden har anropats för händelsen. | Event | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Avbryter en händelses standardbeteende om det beteendet kan avbrytas. | Event | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Förhindrar behandling av händelsehanterare i den aktuella noden och alla noder som följer den aktuella noden i händelseflödet. | Event | ||
Förhindrar behandling av händelsehanterare i noder som följer den aktuella noden i händelseflödet. | Event | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar en sträng som innehåller alla egenskaper i Event-objektet. | Event | ||
Returnerar det angivna objektets primitiva värde. | Object |
Konstant | Definieras med | ||
---|---|---|---|
SELECT : String = "select" [statisk]
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" [statisk]
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 | egenskap |
public var altKey:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.5 |
Indicates whether the Alt key was pressed at the time of the event, true
,
or not, false
.
Standardvärdet är false.
ctrlKey | egenskap |
public var ctrlKey:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.5 |
Indicates whether the Ctrl key was pressed at the time of the event, true
,
or not, false
.
Standardvärdet är false.
itemAutomationValue | egenskap |
public var itemAutomationValue:String
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | 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 | egenskap |
public var itemIndex:uint
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.5 |
The data provider index of the item to be selected.
itemRenderer | egenskap |
public var itemRenderer:IItemRenderer
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | 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.
Standardvärdet är null.
shiftKey | egenskap |
public var shiftKey:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.5 |
Indicates whether the Shift key was pressed at the time of the event, true
,
or not, false
.
Standardvärdet är false.
triggerEvent | egenskap |
public var triggerEvent:Event
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.5 |
Event that triggered the item selection event, such as a keyboard or mouse event.
Standardvärdet är null.
SparkListItemSelectEvent | () | Konstruktor |
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)
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.5 |
Constructor. Normally called by the Flex control and not used in application code.
Parametrartype: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 | Konstant |
public static const SELECT:String = "select"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | 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 | Konstant |
public static const SELECT_INDEX:String = "selectIndex"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | 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, 01:40 PM Z