public class PageStateList
extends java.lang.Object
Constructor and Description |
---|
PageStateList(PaginatingReportProcessor proc)
Creates a new reportstatelist.
|
Modifier and Type | Method and Description |
---|---|
void |
add(PageState state)
Adds this report state to the end of the list.
|
void |
clear()
Removes all elements in the list.
|
PageState |
get(int index)
Retrieves the element on position
index in this list. |
protected PaginatingReportProcessor |
getPageProcess() |
int |
size()
Returns the number of elements in this list.
|
public PageStateList(PaginatingReportProcessor proc)
proc
- the reportprocessor used to restore lost states (null not permitted).java.lang.NullPointerException
- if the report processor is null
.protected PaginatingReportProcessor getPageProcess()
public int size()
public void add(PageState state)
state
- the report state.public void clear()
public PageState get(int index)
index
in this list.index
- the index.