org.jfree.report.states
Class ReportStateProgress

java.lang.Object
  extended byorg.jfree.report.states.ReportStateProgress

public class ReportStateProgress
extends java.lang.Object

Report state progress.

Author:
Thomas Morgner.

Constructor Summary
ReportStateProgress()
          Default constructor.
ReportStateProgress(int currentGroupIndex, int currentDataItem, int currentPage, java.lang.Class stateClass)
          Creates a new instance.
 
Method Summary
 int getCurrentDataItem()
          Returns the current data item.
 int getCurrentGroupIndex()
          Returns the current group index.
 int getCurrentPage()
          Returns the current page.
 java.lang.Class getStateClass()
          Returns the state class.
 void setCurrentDataItem(int currentDataItem)
          Sets the current data item.
 void setCurrentGroupIndex(int currentGroupIndex)
          Sets the current group index.
 void setCurrentPage(int currentPage)
          Sets the current page.
 void setStateClass(java.lang.Class stateClass)
          Sets the state class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportStateProgress

public ReportStateProgress()
Default constructor.


ReportStateProgress

public ReportStateProgress(int currentGroupIndex,
                           int currentDataItem,
                           int currentPage,
                           java.lang.Class stateClass)
Creates a new instance.

Parameters:
currentGroupIndex - the current group index.
currentDataItem - the current data item.
currentPage - the current page.
stateClass - the state class.
Method Detail

setCurrentGroupIndex

public void setCurrentGroupIndex(int currentGroupIndex)
Sets the current group index.

Parameters:
currentGroupIndex - the new index value.

setCurrentDataItem

public void setCurrentDataItem(int currentDataItem)
Sets the current data item.

Parameters:
currentDataItem - the current data item.

setCurrentPage

public void setCurrentPage(int currentPage)
Sets the current page.

Parameters:
currentPage - the current page.

setStateClass

public void setStateClass(java.lang.Class stateClass)
Sets the state class.

Parameters:
stateClass - the state class.

getCurrentGroupIndex

public int getCurrentGroupIndex()
Returns the current group index.

Returns:
The group index.

getCurrentDataItem

public int getCurrentDataItem()
Returns the current data item.

Returns:
The current data item.

getCurrentPage

public int getCurrentPage()
Returns the current page.

Returns:
The current page.

getStateClass

public java.lang.Class getStateClass()
Returns the state class.

Returns:
The state class.