|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface ScrollableModel
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()
Deprecated gets the total number of elements managed by the Scrollable Model. |
Class |
getModelClass()
Deprecated All objects managed by the scrollable model are of the same class. |
int |
getNbPages()
Deprecated Gets the total number of pages over the scrollable model |
Object[] |
getPage(int pageIndex)
Deprecated Gets a page worth of Objects, given a page index. |
int |
getPageSize()
Deprecated gets the page size for an instance of a scrollable model i.e. |
Object |
getValueAt(int valueIndex)
Deprecated Gets the value (hopefully a value object) based on the index the value |
void |
setValueAt(Serializable value,
int valueIndex)
Deprecated Sets the value of an element based on its index in the list of values managed by the scrollable model. |
Method Detail |
---|
int getCount()
Object getValueAt(int valueIndex)
valueIndex,
- the index for the value to retrieve
Class getModelClass()
int getNbPages()
int getPageSize()
void setValueAt(Serializable value, int valueIndex)
value,
- the 'value object' at a location in the listvalueIndex,
- the location of the value object in the listObject[] getPage(int pageIndex)
pageIndex,
- the index in the list of pages
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |