Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.ui.data
Class PagedDataObjectList

java.lang.Object
  |
  +--oracle.cabo.ui.data.PagedDataObjectList
All Implemented Interfaces:
DataObjectList

public class PagedDataObjectList
extends java.lang.Object
implements DataObjectList

DataObjectList that pages the data exposed by another DataObjectList to the subset specified by a start index and a block size. This class is extremely useful when you have a DataObjectList with all of the data for a table and wish to only display a page of data at a time. This is typically the case when working with the TableBean.

See Also:
TableBean

Constructor Summary
PagedDataObjectList(DataObjectList mainList, int blockSize, int startIndex)
           
 
Method Summary
 DataObject getItem(int index)
          Returns the DataObject at the index.
 int getLength()
          Returns the number of items in the data set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagedDataObjectList

public PagedDataObjectList(DataObjectList mainList,
                           int blockSize,
                           int startIndex)
Method Detail

getLength

public int getLength()
Returns the number of items in the data set.
Specified by:
getLength in interface DataObjectList

getItem

public DataObject getItem(int index)
Returns the DataObject at the index.
Specified by:
getItem in interface DataObjectList

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.