org.jfree.report.flow.paginating
public class PageStateList extends Object
Constructor Summary | |
---|---|
PageStateList(PaginatingReportProcessor proc)
Creates a new reportstatelist. |
Method Summary | |
---|---|
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.
|
Parameters: proc the reportprocessor used to restore lost states (null not permitted).
Throws: NullPointerException if the report processor is null
.
Parameters: state the report state.
index
in this list.
Parameters: index the index.
Returns: the report state.
Returns: the number of elements in the list.