com.jrefinery.report.states
Class PostReportFooterState

java.lang.Object
  |
  +--com.jrefinery.report.states.ReportState
        |
        +--com.jrefinery.report.states.PostReportFooterState
All Implemented Interfaces:
java.lang.Cloneable, JFreeReportConstants

public class PostReportFooterState
extends ReportState

The report is done. No advance will be done, every call to advance will throw an ReportProcessingException.

Author:
David Gilbert

Field Summary
 
Fields inherited from class com.jrefinery.report.states.ReportState
BEFORE_FIRST_GROUP, BEFORE_FIRST_PAGE, BEFORE_FIRST_ROW
 
Fields inherited from interface com.jrefinery.report.JFreeReportConstants
NAME_PROPERTY, REPORT_DATE_PROPERTY, REPORT_DEFINITION_CONTENTBASE, REPORT_DEFINITION_SOURCE, REPORT_PAGECOUNT_PROPERTY, REPORT_PAGEFORMAT_PROPERTY, REPORT_PREPARERUN_PROPERTY
 
Constructor Summary
PostReportFooterState(ReportState previous)
          Creates a new 'finish' report state.
 
Method Summary
 ReportState advance()
          Advance to the FinishState.
 
Methods inherited from class com.jrefinery.report.states.ReportState
advanceItem, clone, createStateProgress, enterGroup, fireGroupFinishedEvent, fireGroupStartedEvent, fireItemsAdvancedEvent, fireItemsFinishedEvent, fireItemsStartedEvent, fireLayoutCompleteEvent, firePageCanceledEvent, firePageFinishedEvent, firePageStartedEvent, firePrepareEvent, fireReportDoneEvent, fireReportFinishedEvent, fireReportInitializedEvent, fireReportStartedEvent, getAncestorHashcode, getCurrentDataItem, getCurrentDisplayItem, getCurrentGroupIndex, getCurrentPage, getDataRow, getDataRowBackend, getDataRowConnector, getErrors, getFunctions, getLevel, getLevels, getNumberOfRows, getProperties, getProperty, getProperty, getReport, isAncestor, isErrorOccured, isFinish, isPrefetchState, isPrepareRun, isProceeding, isStart, leaveGroup, nextPage, resetState, setAncestorHashcode, setCurrentGroupIndex, setCurrentItem, setCurrentPage, setFunctions, setProperty, updateDataRow
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostReportFooterState

public PostReportFooterState(ReportState previous)
Creates a new 'finish' report state.

Parameters:
previous - the previous state.
Method Detail

advance

public ReportState advance()
                    throws ReportProcessingException
Advance to the FinishState. The PostReportFooterState is used to catch a continued reportfooter.

Specified by:
advance in class ReportState
Returns:
a finish state, as there is nothing to be done after the report footer has been completed.
Throws:
ReportProcessingException - if advancing failed.