The event for items of List.
public function GridListItemEvent(type:String, value:int, index:GridListCell, cell:MouseEvent, e:*)Parameters
| type:String |
| |
| value:int |
| |
| index:GridListCell |
| |
| cell:MouseEvent |
| |
| e:* |
public override function clone():Event
Returns
public function getCell():GridListCell
Returns
public function getIndex():int
Returns
public function getValue():*
Returns
public static const ITEM_CLICK:String = "itemClick"
The GridListItemEvent.ITEM_CLICK constant defines the value of the
type property of the event object for a itemClick event.
The properties of the event object have the following values:
| Property | Value |
bubbles | false |
cancelable | false |
getValue() | the value of this item |
getCell() | the cell(cell renderer) of this item |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
comp.addEventListener() to register an event listener,
comp is the value of the currentTarget. |
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. |
public static const ITEM_DOUBLE_CLICK:String = "itemDoubleClick"
The GridListItemEvent.ITEM_DOUBLE_CLICK constant defines the value of the
type property of the event object for a itemDoubleClick event.
The properties of the event object have the following values:
| Property | Value |
bubbles | false |
cancelable | false |
getValue() | the value of this item |
getCell() | the cell(cell renderer) of this item |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
comp.addEventListener() to register an event listener,
comp is the value of the currentTarget. |
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. |
public static const ITEM_MOUSE_DOWN:String = "itemMouseDown"
The GridListItemEvent.ITEM_MOUSE_DOWN constant defines the value of the
type property of the event object for a itemMouseDown event.
The properties of the event object have the following values:
| Property | Value |
bubbles | false |
cancelable | false |
getValue() | the value of this item |
getCell() | the cell(cell renderer) of this item |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
comp.addEventListener() to register an event listener,
comp is the value of the currentTarget. |
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. |
public static const ITEM_RELEASE_OUT_SIDE:String = "itemReleaseOutSide"
The ListItemEvent.ITEM_RELEASE_OUT_SIDE constant defines the value of the
type property of the event object for a itemReleaseOutSide event.
The properties of the event object have the following values:
| Property | Value |
bubbles | false |
cancelable | false |
getValue() | the value of this item |
getCell() | the cell(cell renderer) of this item |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
comp.addEventListener() to register an event listener,
comp is the value of the currentTarget. |
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. |
public static const ITEM_ROLL_OUT:String = "itemRollOut"
The ListItemEvent.ITEM_ROLL_OUT constant defines the value of the
type property of the event object for a itemRollOut event.
The properties of the event object have the following values:
| Property | Value |
bubbles | false |
cancelable | false |
getValue() | the value of this item |
getCell() | the cell(cell renderer) of this item |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
comp.addEventListener() to register an event listener,
comp is the value of the currentTarget. |
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. |
public static const ITEM_ROLL_OVER:String = "itemRollOver"
The GridListItemEvent.ITEM_ROLL_OVER constant defines the value of the
type property of the event object for a itemRollOver event.
The properties of the event object have the following values:
| Property | Value |
bubbles | false |
cancelable | false |
getValue() | the value of this item |
getCell() | the cell(cell renderer) of this item |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
comp.addEventListener() to register an event listener,
comp is the value of the currentTarget. |
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. |