|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.data.ContainerHelpers
public class ContainerHelpers
Contains helper methods for containers that can be used to ease development of containers in Vaadin.
| Constructor Summary | |
|---|---|
ContainerHelpers()
|
|
| Method Summary | |
|---|---|
static java.util.List<?> |
getItemIdsUsingGetIdByIndex(int startIndex,
int numberOfIds,
Container.Indexed container)
Get a range of item ids from the container using Container.Indexed.getIdByIndex(int). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContainerHelpers()
| Method Detail |
|---|
public static java.util.List<?> getItemIdsUsingGetIdByIndex(int startIndex,
int numberOfIds,
Container.Indexed container)
Container.Indexed.getIdByIndex(int). This is just a helper method to aid
developers to quickly add the required functionality to a Container
during development. This should not be used in a "finished product"
unless fetching an id for an index is very inexpensive because a separate
request will be performed for each index in the range.
startIndex - index of the first item id to getnumberOfIds - the number of consecutive items whose ids should be returnedcontainer - the container from which the items should be fetched
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||