Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
ItemClickedEvent

Package | org.apache.flex.events
Class | public class ItemClickedEvent
Inheritance | ItemClickedEvent CustomEvent Event flash.events.Event

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The ItemClickedEvent is a custom event issued by an itemRenderer to convey information about itself when it has determined that the event(s) happening to it constitute a 'click' on itself.

Public Properties

| Property | Defined By
--- | --- | ---
|  | data : Object The data of the item. | ItemClickedEvent
|  | index : Number The index of the item beginning with zero. | ItemClickedEvent
|  | multipleSelection : Boolean Whether or not this click is part of a multi-selection sequence. | ItemClickedEvent

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | ItemClickedEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false) Constructor. | ItemClickedEvent
|  | cloneEvent():Event Create a copy/clone of the Event object. | Event

Public Constants
Hide Inherited Public Constants
Show Inherited Public Constants

| Constant | Defined By
--- | --- | ---
|  | CHANGE : String = change [static] | Event
|  | COMPLETE : String = complete [static] | Event

Property Detail

data | property

`public var data:Object`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The data of the item.

index | property |

`public var index:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The index of the item beginning with zero.

multipleSelection | property |

`public var multipleSelection:Boolean`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Whether or not this click is part of a multi-selection sequence.

Constructor Detail

ItemClickedEvent | () | Constructor

`public function ItemClickedEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Constructor.

Parameters

| `type:String` — The name of the event.
| `bubbles:Boolean` (default = `false`)`` — Whether the event bubbles.
| `cancelable:Boolean` (default = `false`)`` — Whether the event can be canceled.

Mon Sep 5 2016, 07:19 AM -07:00