| Package | com.sibirjak.asdpc.listview |
| Class | public class ListItemData |
| Subclasses | TreeNodeData |
| Property | Defined by | ||
|---|---|---|---|
| item : * [read-only]
The item.
| ListItemData | ||
| itemIndex : uint [read-only]
The position of the item in the containing collection.
| ListItemData | ||
| itemKey : * [read-only]
The key of the item if the containing collection is an IMap.
| ListItemData | ||
| listIndex : int [read-only]
The position of the item in the listView.
| ListItemData | ||
| parentItem : * [read-only]
The item's containing collection.
| ListItemData | ||
| selected : Boolean [read-only]
True if the list item is selected.
| ListItemData | ||
| item | property |
item:* [read-only]The item.
Implementation public function get item():*
| itemIndex | property |
itemIndex:uint [read-only]The position of the item in the containing collection.
ListView: Returns the position of the item in the listView's data source.
TreeView: Returns the position of the item in the parent nodes data source. The first child of the root node will have a listIndex of 2 and an itemIndex of 1.
Implementation public function get itemIndex():uint
| itemKey | property |
itemKey:* [read-only]The key of the item if the containing collection is an IMap.
Implementation public function get itemKey():*
| listIndex | property |
listIndex:int [read-only]The position of the item in the listView.
Implementation public function get listIndex():int
| parentItem | property |
parentItem:* [read-only]The item's containing collection.
ListView: Returns the listView's data source.
TreeView: Returns the parent nodes data source.
Implementation public function get parentItem():*
| selected | property |
selected:Boolean [read-only]True if the list item is selected.
Implementation public function get selected():Boolean
| setItem_internal | () | method |
asdpc_internal function setItem_internal(item:*):voidSets the item.
Parametersitem:* — The item.
|
| setItemIndex_internal | () | method |
asdpc_internal function setItemIndex_internal(itemIndex:uint):voidSets the item index.
ParametersitemIndex:uint — The item index.
|
| setItemKey_internal | () | method |
asdpc_internal function setItemKey_internal(itemKey:*):voidSets the item key.
ParametersitemKey:* — The item key.
|
| setListIndex_internal | () | method |
asdpc_internal function setListIndex_internal(listIndex:uint):voidSets the list index.
ParameterslistIndex:uint — The list index.
|
| setParentItem_internal | () | method |
asdpc_internal function setParentItem_internal(parentItem:*):voidSets the parent collection.
ParametersparentItem:* — The parent collection.
|
| setSelected_internal | () | method |
asdpc_internal function setSelected_internal(selected:Boolean):voidSets the selected flag.
Parametersselected:Boolean — The selected flag.
|