|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.jfree.report.event.RepaginationState
The repagination state.
Field Summary |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
RepaginationState(java.lang.Object source,
int pass,
int page,
int currentRow,
int maxRow,
boolean prepare)
Creates a new state. |
Method Summary | |
int |
getCurrentRow()
Returns the current row. |
int |
getMaxRow()
Returns the number of rows in the tablemodel of the report. |
int |
getPage()
Returns the current page. |
int |
getPass()
Returns the pass, which is the current function level of the report processor. |
boolean |
isPrepare()
Checks, whether the event was fired during a prepare run of the report processor. |
void |
reuse(int pass,
int page,
int currentRow,
int maxRow,
boolean prepare)
Makes it possible to reuse the event object. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RepaginationState(java.lang.Object source, int pass, int page, int currentRow, int maxRow, boolean prepare)
source
- the source object that fired the event.pass
- the pass the current function level of the processor.
This counts down to -1.page
- the page that is currently being processed, or -1 if the
page is not known.currentRow
- the current row the current row of the tablemodel
that is processed.maxRow
- the maximum row the total number of rows in the tablemodel.prepare
- true, if the event was fired by a prepare run,
false otherwise.Method Detail |
public int getPass()
public int getPage()
public int getCurrentRow()
public int getMaxRow()
public void reuse(int pass, int page, int currentRow, int maxRow, boolean prepare)
pass
- the pass the current function level of the processor.
This counts down to -1.page
- the page that is currently being processed, or -1 if the
page is not known.currentRow
- the current row the current row of the tablemodel
that is processed.maxRow
- the maximum row the total number of rows in the tablemodel.prepare
- true, if the event was fired by a prepare run,
false otherwise.public boolean isPrepare()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |