|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This file contains an interface for any scrollable model
It helps manage large returned value by returning only
a set of cached value objects (if used properly), reducing
the traffic and the memory usage with this simple interface.
Method Summary | |
int |
getCount()
gets the total number of elements managed by the Scrollable Model. |
Class |
getModelClass()
All objects managed by the scrollable model are of the same class. |
int |
getNbPages()
Gets the total number of pages over the scrollable model |
Object[] |
getPage(int pageIndex)
Gets a page worth of Objects, given a page index. |
int |
getPageSize()
gets the page size for an instance of a scrollable model i.e. '10' means 10 value objects are kept in one page. |
Object |
getValueAt(int valueIndex)
Gets the value (hopefully a value object) based on the index the value |
void |
setValueAt(Serializable value,
int valueIndex)
Sets the value of an element based on its index in the list of values managed by the scrollable model. |
Method Detail |
public int getCount()
public Class getModelClass()
public int getNbPages()
public Object[] getPage(int pageIndex)
public int getPageSize()
public Object getValueAt(int valueIndex)
public void setValueAt(Serializable value, int valueIndex)
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |