Interface for Container classes whose Items can be indexed.
Inheritance Path. com.itmill.toolkit.data.Container.Indexed
Parameters
index
Index to add the new item.
Returns item id the the created new item or null if the operation fails.
Add new item at given index.
The indexes of the item currently in the given position and all the following items are incremented.
Parameters
index
Index to add the new item.
newItemId
Id of the new item to be added.
Returns new item or null if the operation fails.
Add new item at given index.
The indexes of the item currently in the given position and all the following items are incremented.
Parameters
index
Index of the requested id in the Container
ID of the Item in the given index
Get the ID of an Item by an index number. The following is true for the index: 0 <= index < size().