Package | feathers.data |
Class | public class XMLListListCollectionDataDescriptor |
Inheritance | XMLListListCollectionDataDescriptor Object |
Implements | IListCollectionDataDescriptor |
Product Version : | Feathers 1.0.0 |
IListCollectionDataDescriptor
implementation for
XMLLists. Has some limitations due to certain things that cannot be done
to XMLLists.
See also
Method | Defined By | ||
---|---|---|---|
Constructor. | XMLListListCollectionDataDescriptor | ||
addItemAt(data:Object, item:Object, index:int):void
Adds an item to the data source, at the specified index. | XMLListListCollectionDataDescriptor | ||
getItemAt(data:Object, index:int):Object
Returns the item at the specified index in the data source. | XMLListListCollectionDataDescriptor | ||
getItemIndex(data:Object, item:Object):int
Determines which index the item appears at within the data source. | XMLListListCollectionDataDescriptor | ||
getLength(data:Object):int
The number of items in the data source. | XMLListListCollectionDataDescriptor | ||
removeAll(data:Object):void
Removes all items from the data source. | XMLListListCollectionDataDescriptor | ||
removeItemAt(data:Object, index:int):Object
Removes the item at the specified index from the data source and
returns it. | XMLListListCollectionDataDescriptor | ||
setItemAt(data:Object, item:Object, index:int):void
Replaces the item at the specified index with a new item. | XMLListListCollectionDataDescriptor |
XMLListListCollectionDataDescriptor | () | Constructor |
public function XMLListListCollectionDataDescriptor()
Constructor.
addItemAt | () | method |
public function addItemAt(data:Object, item:Object, index:int):void
Adds an item to the data source, at the specified index.
Parameters
data:Object | |
item:Object | |
index:int |
getItemAt | () | method |
public function getItemAt(data:Object, index:int):Object
Returns the item at the specified index in the data source.
Parameters
data:Object | |
index:int |
Object |
getItemIndex | () | method |
public function getItemIndex(data:Object, item:Object):int
Determines which index the item appears at within the data source. If
the item isn't in the data source, returns -1
.
Parameters
data:Object | |
item:Object |
int |
getLength | () | method |
public function getLength(data:Object):int
The number of items in the data source.
Parameters
data:Object |
int |
removeAll | () | method |
public function removeAll(data:Object):void
Removes all items from the data source.
Parameters
data:Object |
removeItemAt | () | method |
public function removeItemAt(data:Object, index:int):Object
Removes the item at the specified index from the data source and returns it.
Parameters
data:Object | |
index:int |
Object |
setItemAt | () | method |
public function setItemAt(data:Object, item:Object, index:int):void
Replaces the item at the specified index with a new item.
Parameters
data:Object | |
item:Object | |
index:int |