com.jrefinery.report.targets.base.event
Class RepaginationState

java.lang.Object
  extended bycom.jrefinery.report.targets.base.event.RepaginationState

public class RepaginationState
extends java.lang.Object

The repagination state.

Author:
Thomas Morgner.

Constructor Summary
RepaginationState(int pass, int page, int currentRow, int maxRow)
          Creates a new state.
 
Method Summary
 int getCurrentRow()
          Returns the current row.
 int getMaxRow()
          Returns the max row.
 int getPage()
          Returns the page.
 int getPass()
          Returns the pass.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepaginationState

public RepaginationState(int pass,
                         int page,
                         int currentRow,
                         int maxRow)
Creates a new state.

Parameters:
pass - the pass.
page - the page.
currentRow - the current row.
maxRow - the maximum row.
Method Detail

getPass

public int getPass()
Returns the pass.

Returns:
The pass.

getPage

public int getPage()
Returns the page.

Returns:
The page.

getCurrentRow

public int getCurrentRow()
Returns the current row.

Returns:
the current row.

getMaxRow

public int getMaxRow()
Returns the max row.

Returns:
the max row.